Skip to content

Commit

Permalink
Change async_write_ha_state to schedule_update_ha_state in entity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
niekschoemaker committed Jan 16, 2025
1 parent 3325bb2 commit 8e8a7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hon/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ def device_info(self) -> DeviceInfo:
@callback
def _handle_coordinator_update(self, update: bool = True) -> None:
if update:
self.async_write_ha_state()
self.schedule_update_ha_state()

0 comments on commit 8e8a7b1

Please sign in to comment.