Homematic faster update with async (#4929)
This commit is contained in:
1 parent
1a7895b1d8
commit
43d18daebd
1 file changed
+1
-1
@@ -825,7 +825,7 @@ class HMDevice(Entity):
|
|||||||
if have_change:
|
if have_change:
|
||||||
_LOGGER.debug("%s update_ha_state after '%s'", self._name,
|
_LOGGER.debug("%s update_ha_state after '%s'", self._name,
|
||||||
attribute)
|
attribute)
|
||||||
self.update_ha_state()
|
self.schedule_update_ha_state()
|
||||||
|
|
||||||
def _subscribe_homematic_events(self):
|
def _subscribe_homematic_events(self):
|
||||||
"""Subscribe all required events to handle job."""
|
"""Subscribe all required events to handle job."""
|
||||||
|
|||||||
Reference in new issue
Block a user