From 37c121e8de5cf647af1fddf0b7c127c3f0693a55 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sun, 13 Nov 2022 18:43:24 +0100 Subject: [PATCH] check selflowtemp change before write --- src/devices/boiler.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index f45bf8605..c972eeaa9 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -1772,6 +1772,11 @@ bool Boiler::set_flow_temp(const char * value, const int8_t id) { return false; } + // no write/verify if there is no change, see https://github.com/emsesp/EMS-ESP32/issues/654 + if (v == selFlowTemp_) { + return true; + } + if (has_telegram_id(0xE4)) { write_command(EMS_TYPE_UBASetPoints, 0, v, 0xE4); } else {