mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix RC300 mode, #1488
This commit is contained in:
@@ -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->selTemp, 10, 1); // single byte conversion, value is * 2 - manual
|
||||||
|
|
||||||
has_update(telegram, hc->mode_new, 21); // for BC400
|
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
|
telegram->read_value(hc->mode_new, 21); // 0-off, 1-manual, 2-auto
|
||||||
if (Helpers::hasValue(hc->mode_new)) {
|
if (Helpers::hasValue(hc->mode_new)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user