mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
Merge branch 'dev' of https://github.com/proddy/EMS-ESP.git into MM10
This commit is contained in:
@@ -1801,6 +1801,10 @@ void WebCallback(JsonObject root) {
|
||||
thermostat["tmode"] = "manual";
|
||||
} else if (thermoMode == EMS_THERMOSTAT_MODE_AUTO) {
|
||||
thermostat["tmode"] = "auto";
|
||||
} else if (thermoMode == EMS_THERMOSTAT_MODE_DAY) {
|
||||
thermostat["tmode"] = "day";
|
||||
} else if (thermoMode == EMS_THERMOSTAT_MODE_NIGHT) {
|
||||
thermostat["tmode"] = "night";
|
||||
}
|
||||
} else {
|
||||
thermostat["ok"] = false;
|
||||
|
||||
Reference in New Issue
Block a user