mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
quick fix for FR50 - https://github.com/proddy/EMS-ESP/issues/224
This commit is contained in:
@@ -176,6 +176,12 @@ _EMS_THERMOSTAT_MODE _getThermostatMode(uint8_t hc_num) {
|
|||||||
} else if (mode == 1) {
|
} else if (mode == 1) {
|
||||||
thermoMode = EMS_THERMOSTAT_MODE_AUTO;
|
thermoMode = EMS_THERMOSTAT_MODE_AUTO;
|
||||||
}
|
}
|
||||||
|
} else if (model == EMS_MODEL_FR10 || model == EMS_MODEL_FR50 || model == EMS_MODEL_FR100) {
|
||||||
|
if (mode == 1) {
|
||||||
|
thermoMode = EMS_THERMOSTAT_MODE_MANUAL;
|
||||||
|
} else if (mode == 2) {
|
||||||
|
thermoMode = EMS_THERMOSTAT_MODE_AUTO;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return thermoMode;
|
return thermoMode;
|
||||||
|
|||||||
Reference in New Issue
Block a user