Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airzone Cloud - Failed setup entry #114319

Closed
abardet78 opened this issue Mar 27, 2024 · 3 comments
Closed

Airzone Cloud - Failed setup entry #114319

abardet78 opened this issue Mar 27, 2024 · 3 comments

Comments

@abardet78
Copy link

The problem

After installing last update of HA, the 2024.3.3, the integration didn't work after the re-start.

Logger: homeassistant.components.airzone_cloud.coordinator
Source: helpers/update_coordinator.py:318
integration: Airzone Cloud (documentation, issues)
First occurred: March 26, 2024 at 11:38:29 (411 occurrences)
Last logged: 17:08:29

Unexpected error fetching airzone_cloud data: float() argument must be a string or a real number, not 'NoneType'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 318, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/airzone_cloud/coordinator.py", line 40, in _async_update_data
await self.airzone.update()
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 840, in update
await self._update()
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 828, in _update
await self._update_polling()
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 807, in _update_polling
await asyncio.gather(*tasks)
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 721, in update_systems_zones
await self.update_zones()
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 794, in update_zones
await asyncio.gather(*tasks)
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 779, in update_zone
await zone.update(update)
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/entity.py", line 116, in update
self.update_data(update)
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/zone.py", line 113, in update_data
super().update_data(update)
File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/hvac.py", line 612, in update_data
self.temp_set_cool_air = float(sp_air_cool[API_CELSIUS])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: float() argument must be a string or a real number, not 'NoneType'

What version of Home Assistant Core has the issue?

core-2024.3.3

What was the last working version of Home Assistant Core?

core-2024.3.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Airzone Cloud

Link to integration documentation on our website

https://www.home-assistant.io/integrations/airzone_cloud

Diagnostics information

N/A

Example YAML snippet

N/A

Anything in the logs that might be useful for us?

Logger: homeassistant.components.airzone_cloud.coordinator
Source: helpers/update_coordinator.py:318
integration: Airzone Cloud (documentation, issues)
First occurred: March 26, 2024 at 11:38:29 (417 occurrences)
Last logged: 17:14:56

Unexpected error fetching airzone_cloud data: float() argument must be a string or a real number, not 'NoneType'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 318, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/airzone_cloud/coordinator.py", line 40, in _async_update_data
    await self.airzone.update()
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 840, in update
    await self._update()
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 828, in _update
    await self._update_polling()
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 807, in _update_polling
    await asyncio.gather(*tasks)
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 721, in update_systems_zones
    await self.update_zones()
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 794, in update_zones
    await asyncio.gather(*tasks)
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 779, in update_zone
    await zone.update(update)
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/entity.py", line 116, in update
    self.update_data(update)
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/zone.py", line 113, in update_data
    super().update_data(update)
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/hvac.py", line 612, in update_data
    self.temp_set_cool_air = float(sp_air_cool[API_CELSIUS])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: float() argument must be a string or a real number, not 'NoneType'

Additional information

No response

@home-assistant
Copy link

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)

@Noltari
Copy link
Contributor

Noltari commented Apr 3, 2024

Same failure as #107244
Should be fixed by #114761

@Noltari
Copy link
Contributor

Noltari commented Apr 4, 2024

@home-assistant close

@home-assistant home-assistant bot closed this as completed Apr 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants