mirror of
https://github.com/Andre0512/pyhOn.git
synced 2026-06-19 19:56:57 +02:00
Ignore virtual virtual wine cellar #3
This commit is contained in:
@@ -55,6 +55,8 @@ class HonConnection:
|
|||||||
appliances = (await resp.json())["payload"]["appliances"]
|
appliances = (await resp.json())["payload"]["appliances"]
|
||||||
for appliance in appliances:
|
for appliance in appliances:
|
||||||
device = HonDevice(self, appliance)
|
device = HonDevice(self, appliance)
|
||||||
|
if device.mac_address is None:
|
||||||
|
continue
|
||||||
await asyncio.gather(*[
|
await asyncio.gather(*[
|
||||||
device.load_attributes(),
|
device.load_attributes(),
|
||||||
device.load_commands(),
|
device.load_commands(),
|
||||||
|
|||||||
Reference in New Issue
Block a user