From 66a94304102e20b158c8ed3b3717255b3aff7e45 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 28 Apr 2024 12:55:17 -0500 Subject: [PATCH] Fix incorrect call to async_schedule_update_ha_state in generic_hygrostat (#116349) --- homeassistant/components/generic_hygrostat/humidifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/generic_hygrostat/humidifier.py b/homeassistant/components/generic_hygrostat/humidifier.py index 32ad34773bd..dea614d92f2 100644 --- a/homeassistant/components/generic_hygrostat/humidifier.py +++ b/homeassistant/components/generic_hygrostat/humidifier.py @@ -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."""