Skip to content

Commit

Permalink
fix dhw circuits emsesp#2079
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Oct 10, 2024
1 parent 6187378 commit c4e9f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/thermostat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4e9f3c

Please sign in to comment.