Debug messages

This commit is contained in:
Tom Harris
2018-02-21 00:59:01 -05:00
parent 92623c4c59
commit 0453d9fbb6
5 changed files with 10 additions and 5 deletions

View File

@@ -24,9 +24,10 @@ 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']
_LOGGER.debug("Got here binary_sensor")
_LOGGER.debug(discovery_info)
address = discovery_info['address']
device = plm.devices[address]

View File

@@ -32,9 +32,10 @@ _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']
_LOGGER.debug("Got here fan")
_LOGGER.debug(discovery_info)
address = discovery_info['address']
device = plm.devices[address]

View File

@@ -22,9 +22,10 @@ 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']
_LOGGER.debug("Got here light")
_LOGGER.debug(discovery_info)
address = discovery_info['address']
device = plm.devices[address]

View File

@@ -19,9 +19,10 @@ _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']
_LOGGER.debug("Got here sensor")
_LOGGER.debug(discovery_info)
address = discovery_info['address']
device = plm.devices[address]

View File

@@ -19,9 +19,10 @@ _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']
_LOGGER.debug("Got here switch")
_LOGGER.debug(discovery_info)
address = discovery_info['address']
device = plm.devices[address]