core icon indicating copy to clipboard operation
core copied to clipboard

Airzone Cloud - Failed to set up - No devices or entities

Open El4azlongy opened this issue 1 year ago • 5 comments

The problem

I have my airzone devices work perfectly through Airzoe Cloup App I tried to add the Airzone Cloud Integration But I can't retrieve any devices or entities An error message appears " Needs attention Home (MAC_add.) No devices or entities Failed to set up: Check the logs Screenshot_20241005_210804_Chrome

What version of Home Assistant Core has the issue?

2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Airzone Cloud

Link to integration documentation on our website

No response

Diagnostics information

Logger: homeassistant.config_entries Source: config_entries.py:594 First occurred: 7:09:15 PM (3 occurrences) Last logged: 9:16:21 PM

Error setting up entry Home 28:CC:FF:81:95:DF (6697baac6f2473a902ba5245) for airzone_cloud Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 659, in _request conn = await self._connector.connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 537, in connect raise e File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 527, in connect await fut asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/airzone_cloud/init.py", line 37, in async_setup_entry await airzone.login() File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 474, in login resp = await self.api_request( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 149, in api_request async with self.session.request( File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1355, in aenter self._resp: _RetType = await self._coro ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 575, in _request with timer: File "/usr/local/lib/python3.12/site-packages/aiohttp/helpers.py", line 736, in exit raise asyncio.TimeoutError from exc_val TimeoutError

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

El4azlongy avatar Oct 05 '24 18:10 El4azlongy

Hey there @noltari, mind taking a look at this issue as it has been labeled with an integration (airzone_cloud) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of airzone_cloud can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign airzone_cloud Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


airzone_cloud documentation airzone_cloud source (message by IssueLinks)

home-assistant[bot] avatar Oct 05 '24 18:10 home-assistant[bot]

@El4azlongy is the account you're using an admin of that Airzone installation? If it's not, please try again with an admin account.

Noltari avatar Oct 05 '24 18:10 Noltari

@Noltari Yes, This is the admin account and the only account.

El4azlongy avatar Oct 06 '24 02:10 El4azlongy

In order to help you I need more information:

  • How many devices do you have?
  • What devices (models) do you have?
  • Home Assistant appears to be timing out when contacting the Airzone Cloud API. Is your Home Assistant instance behing a wifi mesh or something special?
  • What device are you running Home Assistant on?
  • Could you invite me to your Airzone installation so that I can see what's going on? (You can add me as a new admin user: [email protected])

Noltari avatar Oct 06 '24 06:10 Noltari

● 11 Devices ● AZAI6WSCFUJ ● No, it's connected through ethernet cable ● Home Assistant Green ● Invitation sent

El4azlongy avatar Oct 06 '24 07:10 El4azlongy

Hi @El4azlongy,

The following PR fixes your issue: https://github.com/home-assistant/core/pull/127789

However, you should know that the following device is disconnected from the Cloud API and this is causing the error that prevents the integration from being properly configured: airzone-cloud-aidoo-disconnected-censored

Since you have a lot of devices, I suggest removing this device if you're no longer using it, which will instantly fix the issue for you. This will also reduce the number of API calls performed to the API, which is high considering that you've got 11 devices... Otherwise you'll have to wait until the PR is merged and a new Home Assistant version is released.

Best regards, Álvaro.

Noltari avatar Oct 07 '24 08:10 Noltari