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

This commit is contained in:
thecynic 2017-04-17 14:04:44 -07:00 committed by Pascal Vizeli
parent d4b05a6a85
commit 9ed4ed2e47

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,