mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix incorrect call to async_schedule_update_ha_state in generic_hygrostat (#116349)
This commit is contained in:
parent
48d620ce94
commit
66a9430410
@ -412,7 +412,7 @@ class GenericHygrostat(HumidifierEntity, RestoreEntity):
|
|||||||
else:
|
else:
|
||||||
self._attr_action = HumidifierAction.IDLE
|
self._attr_action = HumidifierAction.IDLE
|
||||||
|
|
||||||
self.async_schedule_update_ha_state()
|
self.async_write_ha_state()
|
||||||
|
|
||||||
async def _async_update_humidity(self, humidity: str) -> None:
|
async def _async_update_humidity(self, humidity: str) -> None:
|
||||||
"""Update hygrostat with latest state from sensor."""
|
"""Update hygrostat with latest state from sensor."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user