mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
fix setting dhw comfort #1495
This commit is contained in:
@@ -2420,7 +2420,7 @@ bool Boiler::set_ww_mode(const char * value, const int8_t id) {
|
|||||||
if (is_received(EMS_TYPE_UBAParameterWWPlus)) {
|
if (is_received(EMS_TYPE_UBAParameterWWPlus)) {
|
||||||
if (Helpers::value2enum(value, set, FL_(enum_comfort1))) {
|
if (Helpers::value2enum(value, set, FL_(enum_comfort1))) {
|
||||||
write_command(EMS_TYPE_UBAParameterWWPlus, 13, comfort[set], EMS_TYPE_UBAParameterWWPlus);
|
write_command(EMS_TYPE_UBAParameterWWPlus, 13, comfort[set], EMS_TYPE_UBAParameterWWPlus);
|
||||||
write_command(0x05, 70, set ? 0xAA : 0x55); //
|
write_command(0x05, 70, set == 0 ? 0xAA : 0x55); //
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user