mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix dhw circuits #2079
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user