mirror of
https://github.com/Andre0512/hon.git
synced 2026-07-03 23:15:28 +02:00
Change async_write_ha_state to schedule_update_ha_state in entity.py
This commit is contained in:
@@ -52,4 +52,4 @@ class HonEntity(CoordinatorEntity[DataUpdateCoordinator[dict[str, Any]]]):
|
||||
@callback
|
||||
def _handle_coordinator_update(self, update: bool = True) -> None:
|
||||
if update:
|
||||
self.async_write_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
Reference in New Issue
Block a user