Skip to content

Commit

Permalink
fix RC300 mode, emsesp#1488
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Dec 8, 2023
1 parent 4081a55 commit 510602e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/thermostat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ void Thermostat::process_RC300Set(std::shared_ptr<const Telegram> telegram) {
// has_update(telegram, hc->selTemp, 10, 1); // single byte conversion, value is * 2 - manual

has_update(telegram, hc->mode_new, 21); // for BC400
has_bitupdate(telegram, hc->mode, 2, 0); // RC300, RC100
has_bitupdate(telegram, hc->mode, 0, 0); // RC300, RC100
/*
telegram->read_value(hc->mode_new, 21); // 0-off, 1-manual, 2-auto
if (Helpers::hasValue(hc->mode_new)) {
Expand Down

0 comments on commit 510602e

Please sign in to comment.