Added more logging.

This commit is contained in:
Stefan Jonasson 2015-09-23 11:14:47 +02:00
parent b6bf398859
commit 6afe99dcc7

View File

@ -50,6 +50,8 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
logging.getLogger(__name__).info(
"got TellCore callback {} {} {} {}".format(id_, method, data, cid))
for switch_device in switches:
logging.getLogger(__name__).info(
"checking switch {}".format(switch_device.tellstick_device.id))
if switch_device.tellstick_device.id == id_:
# Execute the update in another thread
logging.getLogger(__name__).info(