summaryrefslogtreecommitdiff
path: root/smart_home
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-08-15 09:20:20 -0700
committerScott Gasch <[email protected]>2022-08-15 09:20:20 -0700
commit6ca1a7b51513673a7ae10ee38057e83aaee4c409 (patch)
tree9ab6147d8e6fb53cb7602fe173c13a75c97f5f05 /smart_home
parent54b5493516c71cd8f5ac65a698c73c2adc629838 (diff)
Fix a threading related bug in tplink_utils.
Diffstat (limited to 'smart_home')
-rw-r--r--smart_home/tplink_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smart_home/tplink_utils.py b/smart_home/tplink_utils.py
index abf4970..ea35110 100644
--- a/smart_home/tplink_utils.py
+++ b/smart_home/tplink_utils.py
@@ -122,7 +122,7 @@ def decrypt(string: bytes) -> str:
return result
-@timeout(10, error_message="Timed out comunicating with device.")
+@timeout(10, use_signals=False, error_message="Timed out comunicating with device.")
def communicate_with_device(
ip: str,
port: int,