mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +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):
|
async def async_added_to_hass(self):
|
||||||
"""Load data init callbacks."""
|
"""Load data init callbacks."""
|
||||||
await self.hass.async_add_job(self._subscribe_homematic_events)
|
self._subscribe_homematic_events()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def unique_id(self):
|
def unique_id(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user