diff --git a/homeassistant/components/binary_sensor/insteon_plm.py b/homeassistant/components/binary_sensor/insteon_plm.py index 24d1885b9a2..719f48d6e97 100644 --- a/homeassistant/components/binary_sensor/insteon_plm.py +++ b/homeassistant/components/binary_sensor/insteon_plm.py @@ -96,11 +96,11 @@ class InsteonPLMBinarySensor(BinarySensorDevice): sensorstate = self._insteon_device_state.value return bool(sensorstate) - @asyncio.coroutine - def async_added_to_hass(self): - """Register INSTEON update events.""" - _LOGGER.debug('Device %s added. Now registering callback.', - self.address) - self.hass.async_add_job( - self._insteon_device_state.register_updates, - self.async_binarysensor_update) + #@asyncio.coroutine + #def async_added_to_hass(self): + # """Register INSTEON update events.""" + # _LOGGER.debug('Device %s added. Now registering callback.', + # self.address) + # self.hass.async_add_job( + # self._insteon_device_state.register_updates, + # self.async_binarysensor_update) diff --git a/homeassistant/components/fan/insteon_plm.py b/homeassistant/components/fan/insteon_plm.py index 84f1a5fbe9f..cf8ad440b04 100644 --- a/homeassistant/components/fan/insteon_plm.py +++ b/homeassistant/components/fan/insteon_plm.py @@ -137,11 +137,11 @@ class InsteonPLMFan(FanEntity): hex_speed = SPEED_LOW return hex_speed - @asyncio.coroutine - def async_added_to_hass(self): - """Register INSTEON update events.""" - _LOGGER.debug('Device %s added. Now registering callback.', - self.address) - self.hass.async_add_job( - self._insteon_device_state.register_updates, - self.async_fan_update) + #@asyncio.coroutine + #def async_added_to_hass(self): + # """Register INSTEON update events.""" + # _LOGGER.debug('Device %s added. Now registering callback.', + # self.address) + # self.hass.async_add_job( + # self._insteon_device_state.register_updates, + # self.async_fan_update) diff --git a/homeassistant/components/light/insteon_plm.py b/homeassistant/components/light/insteon_plm.py index 871ccc58793..b2f37680df9 100644 --- a/homeassistant/components/light/insteon_plm.py +++ b/homeassistant/components/light/insteon_plm.py @@ -111,11 +111,11 @@ class InsteonPLMDimmerDevice(Light): """Turn device off.""" self._insteon_device_state.off() - @asyncio.coroutine - def async_added_to_hass(self): - """Register INSTEON update events.""" - _LOGGER.debug('Device %s added. Now registering callback.', - self.address) - self.hass.async_add_job( - self._insteon_device_state.register_updates, - self.async_light_update) + #@asyncio.coroutine + #def async_added_to_hass(self): + # """Register INSTEON update events.""" + # _LOGGER.debug('Device %s added. Now registering callback.', + # self.address) + # self.hass.async_add_job( + # self._insteon_device_state.register_updates, + # self.async_light_update) diff --git a/homeassistant/components/sensor/insteon_plm.py b/homeassistant/components/sensor/insteon_plm.py index a9c47aa35eb..01000a0f6ec 100644 --- a/homeassistant/components/sensor/insteon_plm.py +++ b/homeassistant/components/sensor/insteon_plm.py @@ -83,11 +83,11 @@ class InsteonPLMSensorDevice(Entity): """Receive notification from transport that new data exists.""" self.async_schedule_update_ha_state() - @asyncio.coroutine - def async_added_to_hass(self): - """Register INSTEON update events.""" - _LOGGER.debug('Device %s added. Now registering callback.', - self.address) - self.hass.async_add_job( - self._insteon_device_state.register_updates, - self.async_sensor_update) + #@asyncio.coroutine + #def async_added_to_hass(self): + # """Register INSTEON update events.""" + # _LOGGER.debug('Device %s added. Now registering callback.', + # self.address) + # self.hass.async_add_job( + # self._insteon_device_state.register_updates, + # self.async_sensor_update) diff --git a/homeassistant/components/switch/insteon_plm.py b/homeassistant/components/switch/insteon_plm.py index 0561980212b..8e8bede9e22 100644 --- a/homeassistant/components/switch/insteon_plm.py +++ b/homeassistant/components/switch/insteon_plm.py @@ -99,10 +99,14 @@ class InsteonPLMSwitchDevice(SwitchDevice): """Turn device off.""" self._insteon_device_state.off() - @asyncio.coroutine - def async_added_to_hass(self): - """Register INSTEON update events.""" - self._insteon_device_state.register_updates(self.async_switch_update) + #@asyncio.coroutine + #def async_added_to_hass(self): + # """Register INSTEON update events.""" + # _LOGGER.debug('Device %s added. Now registering callback.', + # self.address) + # self.hass.async_add_job( + # self._insteon_device_state.register_updates, + # self.async_switch_update) class InsteonPLMOpenClosedDevice(SwitchDevice): @@ -162,11 +166,11 @@ class InsteonPLMOpenClosedDevice(SwitchDevice): """Turn device off.""" self._insteon_device_state.close() - @asyncio.coroutine - def async_added_to_hass(self): - """Register INSTEON update events.""" - _LOGGER.debug('Device %s added. Now registering callback.', - self.address) - self.hass.async_add_job( - self._insteon_device_state.register_updates, - self.async_relay_update) + #@asyncio.coroutine + #def async_added_to_hass(self): + # """Register INSTEON update events.""" + # _LOGGER.debug('Device %s added. Now registering callback.', + # self.address) + # self.hass.async_add_job( + # self._insteon_device_state.register_updates, + # self.async_relay_update)