mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-22 20:50:22 +00:00
Allow erroring modules to recover (#1080)
Re-query failed modules after some delay instead of immediately disabling them. Changes to features so they can still be created when modules are erroring.
This commit is contained in:
@@ -114,6 +114,7 @@ class FakeSmartTransport(BaseTransport):
|
||||
},
|
||||
),
|
||||
"get_device_usage": ("device", {}),
|
||||
"get_connect_cloud_state": ("cloud_connect", {"status": 0}),
|
||||
}
|
||||
|
||||
async def send(self, request: str):
|
||||
|
||||
Reference in New Issue
Block a user