fix dhw circuits #2079

This commit is contained in:
MichaelDvP
2024-10-10 13:18:32 +02:00
parent 6187378388
commit c4e9f3c328

View File

@@ -231,7 +231,7 @@ class Thermostat : public EMSdevice {
}
inline uint8_t id2dhw(const int8_t id) const {
return id - DeviceValueTAG::TAG_DHW1;
return id - DeviceValueTAG::TAG_DHW1 + 1;
}
// each thermostat has a list of heating controller type IDs for reading and writing