mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-14 15:14:28 -04:00
Fix some stuff for hoover appliances
This commit is contained in:
parent
9ee5dbc956
commit
5db13a90e7
9 changed files with 31 additions and 19 deletions
|
@ -47,7 +47,7 @@ class Hon:
|
|||
|
||||
async def _create_appliance(self, appliance_data: Dict[str, Any], zone=0) -> None:
|
||||
appliance = HonAppliance(self._api, appliance_data, zone=zone)
|
||||
if appliance.mac_address is None:
|
||||
if appliance.mac_address == "":
|
||||
return
|
||||
await asyncio.gather(
|
||||
*[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue