From a36cb30a89dc41ca663e73bedfa799415984a16a Mon Sep 17 00:00:00 2001 From: Phil Genera Date: Sat, 6 Jun 2020 08:48:10 -0400 Subject: [PATCH] assume fan running when switching to fan mode --- espmhp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/espmhp.cpp b/espmhp.cpp index b8ef552..0f61188 100644 --- a/espmhp.cpp +++ b/espmhp.cpp @@ -128,6 +128,7 @@ void MitsubishiHeatPump::control(const climate::ClimateCall &call) { case climate::CLIMATE_MODE_FAN_ONLY: hp->setModeSetting("FAN"); hp->setPowerSetting("ON"); + this->action = climate::CLIMATE_ACTION_FAN; updated = true; break; case climate::CLIMATE_MODE_OFF: @@ -247,6 +248,7 @@ void MitsubishiHeatPump::hpSettingsChanged() { this->mode = climate::CLIMATE_MODE_FAN_ONLY; } else if (strcmp(currentSettings.mode, "AUTO") == 0) { this->mode = climate::CLIMATE_MODE_AUTO; + this->action = climate::CLIMATE_ACTION_FAN; } else { ESP_LOGW( TAG,