mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-16 08:04:25 -04:00
Format with black
This commit is contained in:
parent
36fad84ee2
commit
8dc6cd71cd
11 changed files with 166 additions and 65 deletions
11
pyhon/hon.py
11
pyhon/hon.py
|
@ -29,8 +29,11 @@ class Hon:
|
|||
appliance = HonAppliance(self._api, appliance)
|
||||
if appliance.mac_address is None:
|
||||
continue
|
||||
await asyncio.gather(*[
|
||||
appliance.load_attributes(),
|
||||
appliance.load_commands(),
|
||||
appliance.load_statistics()])
|
||||
await asyncio.gather(
|
||||
*[
|
||||
appliance.load_attributes(),
|
||||
appliance.load_commands(),
|
||||
appliance.load_statistics(),
|
||||
]
|
||||
)
|
||||
self._appliances.append(appliance)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue