From 2e60962e9453690bde91b728cd1f28c710295620 Mon Sep 17 00:00:00 2001 From: Paul Shawn <32349595+topsworld@users.noreply.github.com> Date: Wed, 22 Jan 2025 20:01:39 +0800 Subject: [PATCH] fix: climate error (#690) --- custom_components/xiaomi_home/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/xiaomi_home/climate.py b/custom_components/xiaomi_home/climate.py index d90c3dd..88140ab 100644 --- a/custom_components/xiaomi_home/climate.py +++ b/custom_components/xiaomi_home/climate.py @@ -260,7 +260,7 @@ class AirConditioner(MIoTServiceEntity, ClimateEntity): # set air-conditioner on if self.get_prop_value(prop=self._prop_on) is False: await self.set_property_async( - prop=self._prop_on, value=True, update=False) + prop=self._prop_on, value=True, write_ha_state=False) # set mode mode_value = self.get_map_key( map_=self._hvac_mode_map, value=hvac_mode)