From 6afe99dcc77f2370f3f51b2b739551d36ca9851c Mon Sep 17 00:00:00 2001 From: Stefan Jonasson Date: Wed, 23 Sep 2015 11:14:47 +0200 Subject: [PATCH] Added more logging. --- homeassistant/components/switch/tellstick.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/switch/tellstick.py b/homeassistant/components/switch/tellstick.py index e82b73426cb..8afe91ca39b 100644 --- a/homeassistant/components/switch/tellstick.py +++ b/homeassistant/components/switch/tellstick.py @@ -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(