From 92623c4c597058bba93d4b09ff052356c18e71f4 Mon Sep 17 00:00:00 2001 From: Tom Harris Date: Wed, 21 Feb 2018 00:54:53 -0500 Subject: [PATCH] Debug messages --- homeassistant/components/binary_sensor/insteon_plm.py | 1 + homeassistant/components/fan/insteon_plm.py | 1 + homeassistant/components/light/insteon_plm.py | 1 + homeassistant/components/sensor/insteon_plm.py | 1 + homeassistant/components/switch/insteon_plm.py | 1 + 5 files changed, 5 insertions(+) diff --git a/homeassistant/components/binary_sensor/insteon_plm.py b/homeassistant/components/binary_sensor/insteon_plm.py index d7d4a9dbf12..b99cf930df8 100644 --- a/homeassistant/components/binary_sensor/insteon_plm.py +++ b/homeassistant/components/binary_sensor/insteon_plm.py @@ -24,6 +24,7 @@ SENSOR_TYPES = {'openClosedSensor': 'opening', @asyncio.coroutine def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the INSTEON PLM device class for the hass platform.""" + _LOGGER.debug("Got here binary_sensor") entities = [] plm = hass.data['insteon_plm'] diff --git a/homeassistant/components/fan/insteon_plm.py b/homeassistant/components/fan/insteon_plm.py index abd077cd625..4f82fa1e2ac 100644 --- a/homeassistant/components/fan/insteon_plm.py +++ b/homeassistant/components/fan/insteon_plm.py @@ -32,6 +32,7 @@ _LOGGER = logging.getLogger(__name__) @asyncio.coroutine def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the INSTEON PLM device class for the hass platform.""" + _LOGGER.debug("Got here fan") entities = [] plm = hass.data['insteon_plm'] diff --git a/homeassistant/components/light/insteon_plm.py b/homeassistant/components/light/insteon_plm.py index ee8ce4656ee..f28cb05536e 100644 --- a/homeassistant/components/light/insteon_plm.py +++ b/homeassistant/components/light/insteon_plm.py @@ -22,6 +22,7 @@ MAX_BRIGHTNESS = 255 @asyncio.coroutine def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the Insteon PLM device.""" + _LOGGER.debug("Got here light") entities = [] plm = hass.data['insteon_plm'] diff --git a/homeassistant/components/sensor/insteon_plm.py b/homeassistant/components/sensor/insteon_plm.py index 014becb772e..50580729ad5 100644 --- a/homeassistant/components/sensor/insteon_plm.py +++ b/homeassistant/components/sensor/insteon_plm.py @@ -19,6 +19,7 @@ _LOGGER = logging.getLogger(__name__) @asyncio.coroutine def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the INSTEON PLM device class for the hass platform.""" + _LOGGER.debug("Got here sensor") entities = [] plm = hass.data['insteon_plm'] diff --git a/homeassistant/components/switch/insteon_plm.py b/homeassistant/components/switch/insteon_plm.py index c349818312b..9e01fea88c0 100644 --- a/homeassistant/components/switch/insteon_plm.py +++ b/homeassistant/components/switch/insteon_plm.py @@ -19,6 +19,7 @@ _LOGGER = logging.getLogger(__name__) @asyncio.coroutine def async_setup_platform(hass, config, async_add_devices, discovery_info=None): """Set up the INSTEON PLM device class for the hass platform.""" + _LOGGER.debug("Got here switch") entities = [] plm = hass.data['insteon_plm']