mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
This commit is contained in:
@@ -620,7 +620,7 @@ void publishValues(bool force) {
|
|||||||
// handle the thermostat values separately
|
// handle the thermostat values separately
|
||||||
if (ems_getThermostatEnabled()) {
|
if (ems_getThermostatEnabled()) {
|
||||||
// only send thermostat values if we actually have them
|
// only send thermostat values if we actually have them
|
||||||
if ((EMS_Thermostat.curr_roomTemp <= 0) || (EMS_Thermostat.setpoint_roomTemp <= 0))
|
if ((EMS_Thermostat.curr_roomTemp <= 0) && (EMS_Thermostat.setpoint_roomTemp <= 0))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// build new json object
|
// build new json object
|
||||||
|
|||||||
Reference in New Issue
Block a user