mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-06-05 09:13:45 -04:00
Fix missing program name Andre0512/hon#188
This commit is contained in:
parent
53691e383e
commit
bdf9d31be3
2 changed files with 4 additions and 8 deletions
10
pyhon/hon.py
10
pyhon/hon.py
|
@ -93,13 +93,9 @@ class Hon:
|
|||
if appliance.mac_address == "":
|
||||
return
|
||||
try:
|
||||
await asyncio.gather(
|
||||
*[
|
||||
appliance.load_attributes(),
|
||||
appliance.load_commands(),
|
||||
appliance.load_statistics(),
|
||||
]
|
||||
)
|
||||
await appliance.load_commands()
|
||||
await appliance.load_attributes()
|
||||
await appliance.load_statistics()
|
||||
except (KeyError, ValueError, IndexError) as error:
|
||||
_LOGGER.exception(error)
|
||||
_LOGGER.error("Device data - %s", appliance_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue