Skip to content

Commit a007228

Browse files
committed
Fix test
1 parent dc3a337 commit a007228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airos/airos8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async def status(self) -> dict:
207207
response_json = json.loads(response_text)
208208
if (
209209
"host" not in response_json
210-
or "device_id" not in response_json
210+
or "device_id" not in response_json["host"]
211211
):
212212
logger.error(
213213
"Source data missing 'host' or 'device_id' keys"

0 commit comments

Comments
 (0)