Skip to content

Commit

Permalink
fix sendReport for THERMOSTAT
Browse files Browse the repository at this point in the history
  • Loading branch information
amatilda committed Nov 19, 2024
1 parent a3fb8b4 commit ee9a32b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hardware/arduino/zunoG2/cores/ZWSupport/ZWCCThermostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ int zuno_CCThermostatReport(byte channel, ZUNOCommandPacket_t *packet) {

#ifdef WITH_CC_THERMOSTAT_MODE
rs = _report_mode(channel, packet);
if (rs == ZUNO_COMMAND_ANSWERED) {
zunoSendZWPackage(packet);
rs = ZUNO_COMMAND_PROCESSED;
}
#endif
#ifdef WITH_CC_THERMOSTAT_SETPOINT
rs = _setpoint_get(channel, NULL, packet);
Expand Down

0 comments on commit ee9a32b

Please sign in to comment.