mirror of
https://github.com/geoffdavis/esphome-mitsubishiheatpump
synced 2024-08-30 18:12:13 +00:00
Don't treat swing mode 'auto' as CLIMATE_SWING_VERTICAL
This commit is contained in:
parent
6f6b84040e
commit
655ca2ac0f
@ -283,10 +283,7 @@ void MitsubishiHeatPump::hpSettingsChanged() {
|
|||||||
/* ******** HANDLE MITSUBISHI VANE CHANGES ********
|
/* ******** HANDLE MITSUBISHI VANE CHANGES ********
|
||||||
* const char* VANE_MAP[7] = {"AUTO", "1", "2", "3", "4", "5", "SWING"};
|
* const char* VANE_MAP[7] = {"AUTO", "1", "2", "3", "4", "5", "SWING"};
|
||||||
*/
|
*/
|
||||||
if (
|
if (strcmp(currentSettings.vane, "SWING") == 0) {
|
||||||
(strcmp(currentSettings.vane, "AUTO") == 0)
|
|
||||||
|| (strcmp(currentSettings.vane, "SWING") == 0)
|
|
||||||
) {
|
|
||||||
this->swing_mode = climate::CLIMATE_SWING_VERTICAL;
|
this->swing_mode = climate::CLIMATE_SWING_VERTICAL;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user