mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-08 16:38:01 +00:00
Add retries to protocol queries (#65)
* Add retries to query(), defaults to 3 + add tests * Catch also json decoding errors for retries * add missing exceptions file, fix old protocol tests
This commit is contained in:
5
kasa/exceptions.py
Normal file
5
kasa/exceptions.py
Normal file
@@ -0,0 +1,5 @@
|
||||
"""python-kasa exceptions."""
|
||||
|
||||
|
||||
class SmartDeviceException(Exception):
|
||||
"""Base exception for device errors."""
|
Reference in New Issue
Block a user