Skip to content

Commit

Permalink
Fix incorrect call to async_schedule_update_ha_state in generic_hygro…
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Apr 28, 2024
1 parent 48d620c commit 66a9430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/generic_hygrostat/humidifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def _async_switch_changed(
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."""
Expand Down

0 comments on commit 66a9430

Please sign in to comment.