From 0fec3697468bed3f6efacb008195e4770035e9de Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sat, 1 Jul 2023 15:10:52 +0200 Subject: [PATCH] Fix setting fan mode #84 --- custom_components/hon/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hon/climate.py b/custom_components/hon/climate.py index ede5e0e..e772072 100644 --- a/custom_components/hon/climate.py +++ b/custom_components/hon/climate.py @@ -210,7 +210,7 @@ class HonACClimateEntity(HonEntity, ClimateEntity): async def async_set_fan_mode(self, fan_mode): mode_number = list(HON_FAN.values()).index(fan_mode) mode = list(HON_FAN.keys())[mode_number] - self._device.settings["settings.windSpeed"].value = mode + self._device.settings["settings.windSpeed"].value = str(mode) self._attr_fan_mode = fan_mode await self._device.commands["settings"].send() self.async_write_ha_state()