diff --git a/homeassistant/components/binary_sensor/insteon_plm.py b/homeassistant/components/binary_sensor/insteon_plm.py index 63cc2576cde..02bd0017cd7 100644 --- a/homeassistant/components/binary_sensor/insteon_plm.py +++ b/homeassistant/components/binary_sensor/insteon_plm.py @@ -26,8 +26,6 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the INSTEON PLM device class for the hass platform.""" entities = [] plm = hass.data['insteon_plm'] - _LOGGER.debug("Got here binary_sensor") - _LOGGER.debug(discovery_info) address = discovery_info['address'] device = plm.devices[address] @@ -101,5 +99,7 @@ class InsteonPLMBinarySensor(BinarySensorDevice): @asyncio.coroutine def async_added_to_hass(self): """Register INSTEON update events.""" + _LOGGER.debug('Device %s added. Now registering callback.', + self.address) 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 ab849e3f0af..7dae8461bec 100644 --- a/homeassistant/components/fan/insteon_plm.py +++ b/homeassistant/components/fan/insteon_plm.py @@ -34,8 +34,6 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the INSTEON PLM device class for the hass platform.""" entities = [] plm = hass.data['insteon_plm'] - _LOGGER.debug("Got here fan") - _LOGGER.debug(discovery_info) address = discovery_info['address'] device = plm.devices[address] @@ -142,4 +140,6 @@ class InsteonPLMFan(FanEntity): @asyncio.coroutine def async_added_to_hass(self): """Register INSTEON update events.""" + _LOGGER.debug('Device %s added. Now registering callback.', + self.address) 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 417502f9432..03ae9998ec4 100644 --- a/homeassistant/components/light/insteon_plm.py +++ b/homeassistant/components/light/insteon_plm.py @@ -24,8 +24,6 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the Insteon PLM device.""" entities = [] plm = hass.data['insteon_plm'] - _LOGGER.debug("Got here light") - _LOGGER.debug(discovery_info) address = discovery_info['address'] device = plm.devices[address] @@ -116,4 +114,6 @@ class InsteonPLMDimmerDevice(Light): @asyncio.coroutine def async_added_to_hass(self): """Register INSTEON update events.""" + _LOGGER.debug('Device %s added. Now registering callback.', + self.address) 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 d4aef0bdb86..6dbe374a53a 100644 --- a/homeassistant/components/sensor/insteon_plm.py +++ b/homeassistant/components/sensor/insteon_plm.py @@ -21,8 +21,6 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the INSTEON PLM device class for the hass platform.""" entities = [] plm = hass.data['insteon_plm'] - _LOGGER.debug("Got here sensor") - _LOGGER.debug(discovery_info) address = discovery_info['address'] device = plm.devices[address] @@ -88,4 +86,6 @@ class InsteonPLMSensorDevice(Entity): @asyncio.coroutine def async_added_to_hass(self): """Register INSTEON update events.""" + _LOGGER.debug('Device %s added. Now registering callback.', + self.address) 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 8a718f8c914..cf1829bd94a 100644 --- a/homeassistant/components/switch/insteon_plm.py +++ b/homeassistant/components/switch/insteon_plm.py @@ -21,8 +21,6 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the INSTEON PLM device class for the hass platform.""" entities = [] plm = hass.data['insteon_plm'] - _LOGGER.debug("Got here switch") - _LOGGER.debug(discovery_info) address = discovery_info['address'] device = plm.devices[address] @@ -167,4 +165,6 @@ class InsteonPLMOpenClosedDevice(SwitchDevice): @asyncio.coroutine def async_added_to_hass(self): """Register INSTEON update events.""" + _LOGGER.debug('Device %s added. Now registering callback.', + self.address) self._insteon_device_state.register_updates(self.async_relay_update)