mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
Homematic faster update with async (#4929)
This commit is contained in:
parent
1a7895b1d8
commit
43d18daebd
@ -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."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user