mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Debug messages
This commit is contained in:
@@ -24,9 +24,10 @@ SENSOR_TYPES = {'openClosedSensor': 'opening',
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||||
"""Set up the INSTEON PLM device class for the hass platform."""
|
"""Set up the INSTEON PLM device class for the hass platform."""
|
||||||
_LOGGER.debug("Got here binary_sensor")
|
|
||||||
entities = []
|
entities = []
|
||||||
plm = hass.data['insteon_plm']
|
plm = hass.data['insteon_plm']
|
||||||
|
_LOGGER.debug("Got here binary_sensor")
|
||||||
|
_LOGGER.debug(discovery_info)
|
||||||
|
|
||||||
address = discovery_info['address']
|
address = discovery_info['address']
|
||||||
device = plm.devices[address]
|
device = plm.devices[address]
|
||||||
|
@@ -32,9 +32,10 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||||
"""Set up the INSTEON PLM device class for the hass platform."""
|
"""Set up the INSTEON PLM device class for the hass platform."""
|
||||||
_LOGGER.debug("Got here fan")
|
|
||||||
entities = []
|
entities = []
|
||||||
plm = hass.data['insteon_plm']
|
plm = hass.data['insteon_plm']
|
||||||
|
_LOGGER.debug("Got here fan")
|
||||||
|
_LOGGER.debug(discovery_info)
|
||||||
|
|
||||||
address = discovery_info['address']
|
address = discovery_info['address']
|
||||||
device = plm.devices[address]
|
device = plm.devices[address]
|
||||||
|
@@ -22,9 +22,10 @@ MAX_BRIGHTNESS = 255
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||||
"""Set up the Insteon PLM device."""
|
"""Set up the Insteon PLM device."""
|
||||||
_LOGGER.debug("Got here light")
|
|
||||||
entities = []
|
entities = []
|
||||||
plm = hass.data['insteon_plm']
|
plm = hass.data['insteon_plm']
|
||||||
|
_LOGGER.debug("Got here light")
|
||||||
|
_LOGGER.debug(discovery_info)
|
||||||
|
|
||||||
address = discovery_info['address']
|
address = discovery_info['address']
|
||||||
device = plm.devices[address]
|
device = plm.devices[address]
|
||||||
|
@@ -19,9 +19,10 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||||
"""Set up the INSTEON PLM device class for the hass platform."""
|
"""Set up the INSTEON PLM device class for the hass platform."""
|
||||||
_LOGGER.debug("Got here sensor")
|
|
||||||
entities = []
|
entities = []
|
||||||
plm = hass.data['insteon_plm']
|
plm = hass.data['insteon_plm']
|
||||||
|
_LOGGER.debug("Got here sensor")
|
||||||
|
_LOGGER.debug(discovery_info)
|
||||||
|
|
||||||
address = discovery_info['address']
|
address = discovery_info['address']
|
||||||
device = plm.devices[address]
|
device = plm.devices[address]
|
||||||
|
@@ -19,9 +19,10 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||||
"""Set up the INSTEON PLM device class for the hass platform."""
|
"""Set up the INSTEON PLM device class for the hass platform."""
|
||||||
_LOGGER.debug("Got here switch")
|
|
||||||
entities = []
|
entities = []
|
||||||
plm = hass.data['insteon_plm']
|
plm = hass.data['insteon_plm']
|
||||||
|
_LOGGER.debug("Got here switch")
|
||||||
|
_LOGGER.debug(discovery_info)
|
||||||
|
|
||||||
address = discovery_info['address']
|
address = discovery_info['address']
|
||||||
device = plm.devices[address]
|
device = plm.devices[address]
|
||||||
|
Reference in New Issue
Block a user