feat(thermostats): display mode for FW100 and FW120 thermostats

This commit is contained in:
WEBER Logan
2019-10-06 17:29:54 +02:00
parent 70f38fd53f
commit 589caf33bc
3 changed files with 15 additions and 2 deletions

View File

@@ -409,7 +409,16 @@ uint8_t _getThermostatMode(uint8_t hc_num) {
} else if (mode == 1) {
thermoMode = 2; // auto
}
} else { // default for all other thermostats
} else if (model == EMS_MODEL_FW100 || model == EMS_MODEL_FW120) {
if (mode == 3) {
thermoMode = 4;
} else if (mode == 2) {
thermoMode = 3;
} else if (mode == 1) {
thermoMode = 0;
}
}
else { // default for all other thermostats
if (mode == 0) {
thermoMode = 3; // night
} else if (mode == 1) {