From d4a35d89c61095428f06f08200bd00bdb5187d6a Mon Sep 17 00:00:00 2001 From: Juan Date: Sat, 30 Nov 2024 13:18:00 +0100 Subject: [PATCH] change middle to medium --- components/samsung_ac/conversions.cpp | 4 ++-- components/samsung_ac/samsung_ac_device.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/samsung_ac/conversions.cpp b/components/samsung_ac/conversions.cpp index fd99ef38..5b4a3794 100644 --- a/components/samsung_ac/conversions.cpp +++ b/components/samsung_ac/conversions.cpp @@ -113,7 +113,7 @@ namespace esphome case FanMode::Low: return climate::ClimateFanMode::CLIMATE_FAN_LOW; case FanMode::Mid: - return climate::ClimateFanMode::CLIMATE_FAN_MIDDLE; + return climate::ClimateFanMode::CLIMATE_FAN_MEDIUM; case FanMode::High: return climate::ClimateFanMode::CLIMATE_FAN_HIGH; case FanMode::Turbo: @@ -141,7 +141,7 @@ namespace esphome { case climate::ClimateFanMode::CLIMATE_FAN_LOW: return FanMode::Low; - case climate::ClimateFanMode::CLIMATE_FAN_MIDDLE: + case climate::ClimateFanMode::CLIMATE_FAN_MEDIUM: return FanMode::Mid; case climate::ClimateFanMode::CLIMATE_FAN_HIGH: return FanMode::High; diff --git a/components/samsung_ac/samsung_ac_device.cpp b/components/samsung_ac/samsung_ac_device.cpp index 99b713f4..a1892936 100644 --- a/components/samsung_ac/samsung_ac_device.cpp +++ b/components/samsung_ac/samsung_ac_device.cpp @@ -31,7 +31,7 @@ namespace esphome std::set fan = { climate::ClimateFanMode::CLIMATE_FAN_HIGH, - climate::ClimateFanMode::CLIMATE_FAN_MIDDLE, + climate::ClimateFanMode::CLIMATE_FAN_MEDIUM, climate::ClimateFanMode::CLIMATE_FAN_LOW}; if (this->mode != climate::CLIMATE_MODE_FAN_ONLY)