mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Debug messages
This commit is contained in:
@@ -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]
|
||||
|
@@ -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]
|
||||
|
@@ -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]
|
||||
|
@@ -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]
|
||||
|
@@ -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]
|
||||
|
Reference in New Issue
Block a user