mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Added more logging.
This commit is contained in:
parent
b6bf398859
commit
6afe99dcc7
@ -50,6 +50,8 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||||||
logging.getLogger(__name__).info(
|
logging.getLogger(__name__).info(
|
||||||
"got TellCore callback {} {} {} {}".format(id_, method, data, cid))
|
"got TellCore callback {} {} {} {}".format(id_, method, data, cid))
|
||||||
for switch_device in switches:
|
for switch_device in switches:
|
||||||
|
logging.getLogger(__name__).info(
|
||||||
|
"checking switch {}".format(switch_device.tellstick_device.id))
|
||||||
if switch_device.tellstick_device.id == id_:
|
if switch_device.tellstick_device.id == id_:
|
||||||
# Execute the update in another thread
|
# Execute the update in another thread
|
||||||
logging.getLogger(__name__).info(
|
logging.getLogger(__name__).info(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user