From 655ca2ac0f7fc126bc18658e1c1acaa8fa92ea81 Mon Sep 17 00:00:00 2001 From: loongyh Date: Mon, 6 Jul 2020 07:44:48 +0800 Subject: [PATCH] Don't treat swing mode 'auto' as CLIMATE_SWING_VERTICAL --- espmhp.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/espmhp.cpp b/espmhp.cpp index 5d256d1..ac64699 100644 --- a/espmhp.cpp +++ b/espmhp.cpp @@ -283,10 +283,7 @@ void MitsubishiHeatPump::hpSettingsChanged() { /* ******** HANDLE MITSUBISHI VANE CHANGES ******** * const char* VANE_MAP[7] = {"AUTO", "1", "2", "3", "4", "5", "SWING"}; */ - if ( - (strcmp(currentSettings.vane, "AUTO") == 0) - || (strcmp(currentSettings.vane, "SWING") == 0) - ) { + if (strcmp(currentSettings.vane, "SWING") == 0) { this->swing_mode = climate::CLIMATE_SWING_VERTICAL; } else {