home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.7k stars 30.83k forks source link

Netatmo integration not working since 2024.11.1 #130499

Open renaudallard opened 3 days ago

renaudallard commented 3 days ago

The problem

Netamo integration doesn't update sensor values since the upgrade to 2024.11.1

What version of Home Assistant Core has the issue?

core-2024.11.1

What was the last working version of Home Assistant Core?

core-2024.11.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

netatmo

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Traceback (most recent call last):
  File "/var/hass/lib/python3.12/site-packages/homeassistant/components/netatmo/data_handler.py", line 185, in async_update
    for data_class in islice(self._queue, 0, BATCH_SIZE * self._interval_factor):
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: deque mutated during iteration

Additional information

Reverting to 2024.11.0 fixes the issue.

home-assistant[bot] commented 3 days ago

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

Code owner commands Code owners of `netatmo` 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 netatmo` 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)


netatmo documentation netatmo source (message by IssueLinks)

Danielson187 commented 2 days ago

I'm facing the same issue since i've updateted to 2024.11.1: API error: 500 (Internal Server Error)

robbinonline commented 1 day ago

The same problem here.

kevtuning commented 1 day ago

mine is working fine but from automations only (I use node-red).

I am not sure but it may be due to the last breaking change on presets: rename of Schedule by schedule but it appears still as Schedule in the Climate card

robbinonline commented 23 hours ago

Failed setup, will retry: 500, message='Internal Server Error', url='https://account-link.nabucasa.com/refresh_token/netatmo'

mdeuerlein commented 19 hours ago

Deleting the account (hub) from the integration and readding it again solved the problem for me. Not the perfect solutions, but it helps.

Mooni123 commented 6 hours ago

The Home Assistent Update 2024.11.2 had fixed it for me.

renaudallard commented 3 hours ago

It seems 2024.11.2 fixes it for me too. It's a little bit early to confirm, but sensors seem to update in that newer version.

rosch100 commented 3 hours ago

Connected to 119193?