From 9ed4ed2e475d70dbc84851bf910b747cd551d008 Mon Sep 17 00:00:00 2001 From: thecynic Date: Mon, 17 Apr 2017 14:04:44 -0700 Subject: [PATCH] lutron: fix typo that prevented callback registration (#7148) --- homeassistant/components/lutron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/lutron.py b/homeassistant/components/lutron.py index d5e889027d1..3bd1682bc41 100644 --- a/homeassistant/components/lutron.py +++ b/homeassistant/components/lutron.py @@ -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,