mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix misuse of forceheatingoff
This commit is contained in:
@@ -3433,6 +3433,9 @@ bool Boiler::set_wwAltOpPrio(const char * value, const int8_t id) {
|
||||
bool Boiler::set_forceHeatingOff(const char * value, const int8_t id) {
|
||||
bool v;
|
||||
if (Helpers::value2bool(value, v)) {
|
||||
if (v == (forceHeatingOff_ > 0)) { // no change, ignore
|
||||
return true;
|
||||
}
|
||||
has_update(forceHeatingOff_, v);
|
||||
if (!v && Helpers::hasValue(heatingTemp_)) {
|
||||
if (has_telegram_id(0xE4)) {
|
||||
|
||||
Reference in New Issue
Block a user