Removed logging.
This commit is contained in:
parent
10327795e9
commit
3244975489
2 changed files with 1 additions and 10 deletions
|
@ -47,13 +47,8 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||
|
||||
def _device_event_callback(id_, method, data, cid):
|
||||
""" Called from the TelldusCore library to update one device """
|
||||
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("Updating state to: {}".format(switch_device.state))
|
||||
switch_device.update_ha_state()
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue