mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-09 06:17:08 +00:00
d908a5ab2a
* Avoid retrying open_connection on unrecoverable errors - We can retry so hard that we block the event loop Fixes ``` 2022-04-16 22:18:51 WARNING (MainThread) [asyncio] Executing <Task finished name=Task-3576 coro=<open_connection() done, defined at /opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py:25> exception=ConnectionRefusedError(61, "Connect call failed (192.168.107.200, 9999)") created at /opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/tasks.py:460> took 1.001 seconds ``` * comment |
||
---|---|---|
.. | ||
modules | ||
tests | ||
__init__.py | ||
cli.py | ||
discover.py | ||
effects.py | ||
emeterstatus.py | ||
exceptions.py | ||
protocol.py | ||
py.typed | ||
smartbulb.py | ||
smartdevice.py | ||
smartdimmer.py | ||
smartlightstrip.py | ||
smartplug.py | ||
smartstrip.py |