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
69.82k stars 28.95k forks source link

Home-connect - Rate limit reached #119129

Open christian1986 opened 1 month ago

christian1986 commented 1 month ago

The problem

Home-connect not working, rate limit reached.

homeconnect.api.HomeConnectError: {'description': 'The rate limit "1000 calls in 1 day" was reached. Requests are blocked during the remaining period of 50460 seconds.', 'key': '429'} 2024-06-08 10:49:00.265 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Configuration.yaml for home_connect File "/usr/src/homeassistant/homeassistant/components/home_connect/init.py", line 230, in async_setup_entry File "/usr/src/homeassistant/homeassistant/components/home_connect/init.py", line 254, in update_all_devices File "/usr/src/homeassistant/homeassistant/components/home_connect/api.py", line 70, in get_devices File "/usr/local/lib/python3.12/site-packages/homeconnect/api.py", line 136, in get_appliances File "/usr/local/lib/python3.12/site-packages/homeconnect/api.py", line 91, in get raise HomeConnectError(res["error"])

What version of Home Assistant Core has the issue?

core-2024.6.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

home-connect

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

homeconnect.api.HomeConnectError: {'description': 'The rate limit "1000 calls in 1 day" was reached. Requests are blocked during the remaining period of 50460 seconds.', 'key': '429'}
2024-06-08 10:49:00.265 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Configuration.yaml for home_connect
  File "/usr/src/homeassistant/homeassistant/components/home_connect/__init__.py", line 230, in async_setup_entry
  File "/usr/src/homeassistant/homeassistant/components/home_connect/__init__.py", line 254, in update_all_devices
  File "/usr/src/homeassistant/homeassistant/components/home_connect/api.py", line 70, in get_devices
  File "/usr/local/lib/python3.12/site-packages/homeconnect/api.py", line 136, in get_appliances
  File "/usr/local/lib/python3.12/site-packages/homeconnect/api.py", line 91, in get
    raise HomeConnectError(res["error"])

Additional information

No response

home-assistant[bot] commented 1 month ago

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

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


home_connect documentation home_connect source (message by IssueLinks)

beastie29a commented 4 weeks ago

There's a PR open with the library repo that would address this.