Skip to content

Commit 774acf8

Browse files
authored
Update __init__.py
1 parent 13a0782 commit 774acf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/entity_controller/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def do_update(self, wait=False, **kwargs):
480480
""" Schedules an entity state update with HASS """
481481
# _LOGGER.debug("Scheduled update with HASS")
482482
if self.may_update:
483-
self.async_schedule_update_ha_state(True)
483+
self.schedule_update_ha_state(True)
484484

485485
def set_attr(self, k, v):
486486
if k == CONF_DELAY:

0 commit comments

Comments
 (0)