Skip to content

Commit

Permalink
fix #860, wwactivated in offset 5
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Dec 29, 2022
1 parent ffa7dde commit bfcdf3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/boiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,7 @@ bool Boiler::set_ww_activated(const char * value, const int8_t id) {
// https://github.com/emsesp/EMS-ESP/issues/268
// 08 for HT3 seems to be wrong, see https://github.com/emsesp/EMS-ESP32/issues/89
if (is_fetch(EMS_TYPE_UBAParameterWWPlus)) {
write_command(EMS_TYPE_UBAParameterWWPlus, 1, v ? 1 : 0, EMS_TYPE_UBAParameterWWPlus);
write_command(EMS_TYPE_UBAParameterWWPlus, 5, v ? 1 : 0, EMS_TYPE_UBAParameterWWPlus);
} else {
write_command(EMS_TYPE_UBAParameterWW, 1, v ? 0xFF : 0, EMS_TYPE_UBAParameterWW);
}
Expand Down

0 comments on commit bfcdf3e

Please sign in to comment.