Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
https://github.com/proddy/EMS-ESP/pull/92
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Apr 7, 2019
1 parent ef44dbd commit 0f44031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ems-esp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ void publishValues(bool force) {
// handle the thermostat values separately
if (ems_getThermostatEnabled()) {
// 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;

// build new json object
Expand Down

0 comments on commit 0f44031

Please sign in to comment.