From 8e8a7b12dc9f52f5e50d87e7e058498b2ff10402 Mon Sep 17 00:00:00 2001 From: Niek Schoemaker <32094562+niekschoemaker@users.noreply.github.com> Date: Thu, 16 Jan 2025 13:53:32 +0100 Subject: [PATCH] Change async_write_ha_state to schedule_update_ha_state in entity.py --- custom_components/hon/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hon/entity.py b/custom_components/hon/entity.py index 1e339c5..5dfe7f9 100644 --- a/custom_components/hon/entity.py +++ b/custom_components/hon/entity.py @@ -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()