lutron: fix typo that prevented callback registration (#7148)

This commit is contained in:
thecynic authored and Pascal Vizeli committed 2017-04-17 23:04:44 +02:00
1 parent d4b05a6a85
commit 9ed4ed2e47
1 file changed
+1 -1
+1 -1
View File
@@ -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,