Fix incorrect call to async_schedule_update_ha_state in generic_hygrostat (#116349)

This commit is contained in:
J. Nick Koston 2024-04-28 12:55:17 -05:00 committed by GitHub
parent 48d620ce94
commit 66a9430410
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -412,7 +412,7 @@ class GenericHygrostat(HumidifierEntity, RestoreEntity):
else:
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:
"""Update hygrostat with latest state from sensor."""