From 65fb01ac5bf120248ea669988f165cb7ddf7dd9e Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 6 Nov 2019 20:33:23 +0100 Subject: [PATCH] quick fix for FR50 - https://github.com/proddy/EMS-ESP/issues/224 --- src/ems-esp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ems-esp.cpp b/src/ems-esp.cpp index f5890e4bd..9f0767c44 100644 --- a/src/ems-esp.cpp +++ b/src/ems-esp.cpp @@ -176,6 +176,12 @@ _EMS_THERMOSTAT_MODE _getThermostatMode(uint8_t hc_num) { } else if (mode == 1) { 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;