mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
parent
5dc94cd5c8
commit
1bada16636
@ -108,6 +108,8 @@ class TPLinkSmartHomeProtocol:
|
|||||||
info = json.loads(TPLinkSmartHomeProtocol.decrypt(data))
|
info = json.loads(TPLinkSmartHomeProtocol.decrypt(data))
|
||||||
|
|
||||||
devices.append({"ip": ip, "port": port, "sys_info": info})
|
devices.append({"ip": ip, "port": port, "sys_info": info})
|
||||||
|
except socket.timeout:
|
||||||
|
_LOGGER.debug("Got socket timeout, which is okay.")
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
_LOGGER.error("Got exception %s", ex, exc_info=True)
|
_LOGGER.error("Got exception %s", ex, exc_info=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user