Skip to content

After HA Core Update #276

@MPS-D

Description

@MPS-D

Integration no longer functional after HA Core Update

Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: 10:53:22 (2 occurrences)
Last logged: 15:00:24

Error setting up entry for gardena_smart_system
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/backoff/_async.py", line 151, in retry
ret = await target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/gardena/smart_system.py", line 153, in __call_smart_system_get
if self.__response_has_errors(response):
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/gardena/smart_system.py", line 143, in __response_has_errors
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '429 ' for url 'https://api.smart.gardena.dev/v2/locations'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/gardena_smart_system/init.py", line 58, in async_setup_entry
await gardena_system.start()
File "/config/custom_components/gardena_smart_system/init.py", line 217, in start
await self.smart_system.update_locations()
File "/usr/local/lib/python3.13/site-packages/gardena/smart_system.py", line 158, in update_locations
response_data = await self.__call_smart_system_get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f"{self.SMART_HOST}/v2/locations"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/backoff/_async.py", line 183, in retry
await asyncio.sleep(seconds)
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 718, in sleep
return await future
^^^^^^^^^^^^
asyncio.exceptions.CancelledError: Global task timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions