mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
lutron: fix typo that prevented callback registration (#7148)
This commit is contained in:
parent
d4b05a6a85
commit
9ed4ed2e47
@ -58,7 +58,7 @@ class LutronDevice(Entity):
|
||||
self._area_name = area_name
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_add_to_hass(self):
|
||||
def async_added_to_hass(self):
|
||||
"""Register callbacks."""
|
||||
self.hass.async_add_job(
|
||||
self._controller.subscribe, self._lutron_device,
|
||||
|
Loading…
x
Reference in New Issue
Block a user