Skip to content

Commit

Permalink
Merge pull request #1490 from MichaelDvP/dev2
Browse files Browse the repository at this point in the history
fix RC300 mode, #1488
  • Loading branch information
proddy authored Dec 8, 2023
2 parents 4008883 + 510602e commit d81b833
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 d81b833

Please sign in to comment.