max13fr / Airzonecloud-HomeAssistant

Airzone Cloud plugin for Home Assistant
MIT License
27 stars 15 forks source link

Cannot find master device in group Group #25

Open ghogg373 opened 2 years ago

ghogg373 commented 2 years ago

Hi,

Just installed a device today, Aidoo Inverter wifi controller. This is a new Airzone Cloud account, and I get this error message when restarting after installing addon:

File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 505, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _async_write_ha_state state = self._stringify_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 511, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 210, in state return self.hvac_mode File "/config/custom_components/airzonecloud/climate.py", line 221, in hvac_mode mode = self._group.mode File "/usr/local/lib/python3.9/site-packages/AirzoneCloud/Group.py", line 93, in mode return self.master_device.mode File "/usr/local/lib/python3.9/site-packages/AirzoneCloud/Group.py", line 205, in master_device raise Exception( Exception: Cannot find master device in group Group(name=, installation=, id=)

This is a Home Assistant OS install version 7.1, running 2021-12-10. I've taken the specific values out of the last line as they are from our Airzone Cloud account, so it does appear to be connecting ok. I couldn't see anything in the account about setting a master device, we just have the 1 group and 1 device at the moment. Thanks in advance.

garbovich commented 2 years ago

Hi, any luck in solving this issue? I have the same problem ...

ghogg373 commented 2 years ago

Hi, any luck in solving this issue? I have the same problem ...

Unfortunately not

max13fr commented 2 years ago

Hello,

Sorry, I really lack in free time right now.

I think it's a specificity of your hardware, but I need an example to find what is different from my airzone hardware. Could you send me your airzonecloud identifier (don't forget to set a temporary password before obviously) or allow access to another account (don't know where it is) at max13fr (at) yozo.fr

I will try to look when I find a minute.

Max

garbovich commented 2 years ago

Hello,

Sorry, I really lack in free time right now.

I think it's a specificity of your hardware, but I need an example to find what is different from my airzone hardware. Could you send me your airzonecloud identifier (don't forget to set a temporary password before obviously) or allow access to another account (don't know where it is) at max13fr (at) yozo.fr

I will try to look when I find a minute.

Max

I sent you my account information, please let me know if you need something else Thank a lot

garbovich commented 2 years ago

Updated, and it's working now !!! Please let me know if i can buy you a coffee, or beer ? image Thanks a lot !!!

ghogg373 commented 2 years ago

Same goes for me, thanks very much, updated and it's now working. Much appreciated!

garbovich commented 2 years ago

One thing that i noticed - the Fan speed option is missing ... but i can leave without it