Remove unneeded async_add_job from homematic (#41855)

This commit is contained in:
J. Nick Koston 2020-10-16 09:24:12 -05:00 committed by GitHub
parent 85ccff28cd
commit 1e256e6122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):