From 774acf80e8f67e289918702365c83f4f0efba9a7 Mon Sep 17 00:00:00 2001 From: Daniel Mason Date: Sat, 4 May 2024 21:46:34 +0800 Subject: [PATCH] Update __init__.py --- custom_components/entity_controller/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/entity_controller/__init__.py b/custom_components/entity_controller/__init__.py index ccabe16..25eb7da 100644 --- a/custom_components/entity_controller/__init__.py +++ b/custom_components/entity_controller/__init__.py @@ -480,7 +480,7 @@ def do_update(self, wait=False, **kwargs): """ Schedules an entity state update with HASS """ # _LOGGER.debug("Scheduled update with HASS") if self.may_update: - self.async_schedule_update_ha_state(True) + self.schedule_update_ha_state(True) def set_attr(self, k, v): if k == CONF_DELAY: