From 97f689b8a7a4b56de93ee9b807a92efda4654aa1 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 1 Jun 2025 12:41:52 +0200 Subject: [PATCH] add comment for reference --- src/devices/thermostat.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/devices/thermostat.cpp b/src/devices/thermostat.cpp index a49e10485..470b60627 100644 --- a/src/devices/thermostat.cpp +++ b/src/devices/thermostat.cpp @@ -4171,12 +4171,15 @@ bool Thermostat::set_temperature(const float temperature, const uint8_t mode, co // add the write command to the Tx queue. value is *2 // post validate is the corresponding monitor or set type IDs as they can differ per model write_command(set_typeid, offset, (uint8_t)(temperature * (float)factor), validate_typeid); + // update selTemp now, readback from monitor telegram takes a while if (mode == HeatingCircuit::Mode::AUTO) { - has_update(hc->selTemp,(int16_t)(temperature * factor)); + has_update(hc->selTemp, (int16_t)(temperature * factor)); + // read_command(0x08, 0x18); // UBAMonitorFast } return true; } + LOG_DEBUG("temperature mode %d not found", mode); return false; }