From 513262c0ff593ca975d84d15a428d87af471166a Mon Sep 17 00:00:00 2001 From: arturyak <109509698+arturyak@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:58:58 +0300 Subject: [PATCH] Add missing FAN_ONLY mode to ccm15 (#118804) --- homeassistant/components/ccm15/climate.py | 1 + tests/components/ccm15/snapshots/test_climate.ambr | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/homeassistant/components/ccm15/climate.py b/homeassistant/components/ccm15/climate.py index b4038fbbf43..a6e5d2cab61 100644 --- a/homeassistant/components/ccm15/climate.py +++ b/homeassistant/components/ccm15/climate.py @@ -57,6 +57,7 @@ class CCM15Climate(CoordinatorEntity[CCM15Coordinator], ClimateEntity): HVACMode.HEAT, HVACMode.COOL, HVACMode.DRY, + HVACMode.FAN_ONLY, HVACMode.AUTO, ] _attr_fan_modes = [FAN_AUTO, FAN_LOW, FAN_MEDIUM, FAN_HIGH] diff --git a/tests/components/ccm15/snapshots/test_climate.ambr b/tests/components/ccm15/snapshots/test_climate.ambr index 10423919187..27dcbcb3405 100644 --- a/tests/components/ccm15/snapshots/test_climate.ambr +++ b/tests/components/ccm15/snapshots/test_climate.ambr @@ -16,6 +16,7 @@ , , , + , , ]), 'max_temp': 35, @@ -70,6 +71,7 @@ , , , + , , ]), 'max_temp': 35, @@ -125,6 +127,7 @@ , , , + , , ]), 'max_temp': 35, @@ -164,6 +167,7 @@ , , , + , , ]), 'max_temp': 35, @@ -202,6 +206,7 @@ , , , + , , ]), 'max_temp': 35, @@ -256,6 +261,7 @@ , , , + , , ]), 'max_temp': 35, @@ -308,6 +314,7 @@ , , , + , , ]), 'max_temp': 35, @@ -342,6 +349,7 @@ , , , + , , ]), 'max_temp': 35,