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: