From bfcdf3ef987966a8679572295611edaf986fbd35 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Thu, 29 Dec 2022 18:43:35 +0100 Subject: [PATCH] fix #860, wwactivated in offset 5 --- src/devices/boiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index 4cfa1376d..2f60992ae 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -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); }