mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
lutron: fix typo that prevented callback registration (#7148)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user