This commit is contained in:
MichaelDvP
2020-01-29 08:16:47 +01:00
3 changed files with 6 additions and 1 deletions

View File

@@ -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;