mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
Fix RC35 day and night mode MQTT mapping - https://github.com/proddy/EMS-ESP/issues/208
This commit is contained in:
@@ -723,9 +723,9 @@ void publishValues(bool force) {
|
||||
} else if (thermoMode == 2) {
|
||||
dataThermostat[THERMOSTAT_MODE] = "auto";
|
||||
} else if (thermoMode == 3) {
|
||||
dataThermostat[THERMOSTAT_MODE] = "night";
|
||||
dataThermostat[THERMOSTAT_MODE] = "off"; // for night
|
||||
} else if (thermoMode == 4) {
|
||||
dataThermostat[THERMOSTAT_MODE] = "day";
|
||||
dataThermostat[THERMOSTAT_MODE] = "heat"; // for day
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user