diff --git a/climate.py b/climate.py index cfc550a..2d7de45 100644 --- a/climate.py +++ b/climate.py @@ -139,7 +139,7 @@ async def async_set_hvac_mode(self, hvac_mode: str) -> None: """ if hvac_mode in self._attr_hvac_modes: self._attr_hvac_mode = hvac_mode - await self.async_update_ha_state() + self.async_write_ha_state() async def async_set_temperature_internal(self, parameter, data): """Set temperature.""" @@ -428,7 +428,7 @@ def track_entity_id( async def changed(entity_id: str, old_state: State, new_state: State): update_fun(new_state) await self._async_publish() - await self.async_update_ha_state() + self.async_write_ha_state() update_fun(self.hass.states.get(tracked_entity_id)) diff --git a/manifest.json b/manifest.json index 790759c..827c884 100644 --- a/manifest.json +++ b/manifest.json @@ -9,5 +9,5 @@ "codeowners": [ "@elupus" ], - "version": "1.5.8" + "version": "1.5.9" }