deCONZ - Library cleanup (#31410)

* Follow library changes

* Bump dependency to v70

* Fix test
This commit is contained in:
Robert Svensson 2020-02-02 19:07:20 +01:00 committed by GitHub
parent f21a058f31
commit 883b8f21ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 27 additions and 27 deletions

View file

@ -81,7 +81,7 @@ class DeconzDevice(DeconzBase, Entity):
async def async_added_to_hass(self):
"""Subscribe to device events."""
self._device.register_async_callback(self.async_update_callback)
self._device.register_callback(self.async_update_callback)
self.gateway.deconz_ids[self.entity_id] = self._device.deconz_id
self.listeners.append(
async_dispatcher_connect(