mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Remove unneeded async_add_job from homematic (#41855)
This commit is contained in:
parent
85ccff28cd
commit
1e256e6122
@ -48,7 +48,7 @@ class HMDevice(Entity):
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
"""Load data init callbacks."""
|
||||
await self.hass.async_add_job(self._subscribe_homematic_events)
|
||||
self._subscribe_homematic_events()
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user