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

intergration will not started he is stopped ist was working this summer good #41

Open
Homeassistjoenka opened this issue Nov 18, 2024 · 0 comments

Comments

@Homeassistjoenka
Copy link

Logger: homeassistant.components.hydrawise
Bron: helpers/update_coordinator.py:382
integratie: Hunter Hydrawise (documentatie, problemen)
Eerst voorgekomen: 08:37:59 (13 gebeurtenissen)
Laatst gelogd: 08:52:08

Unexpected error fetching hydrawise data
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/gql/transport/aiohttp.py", line 319, in raise_response_error
resp.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1158, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 429, message='Too Many Requests', url='https://app.hydrawise.com/api/v2/graph'

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

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/hydrawise/coordinator.py", line 62, in _async_update_data
data = HydrawiseData(user=await self.api.get_user(fetch_zones=False))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pydrawise/client.py", line 109, in get_user
result = await self._query(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pydrawise/client.py", line 88, in _query
return await session.execute(dsl_gql(DSLQuery(selector)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/gql/client.py", line 1628, in execute
result = await self._execute(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/gql/client.py", line 1537, in _execute
result = await self.transport.execute(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/gql/transport/aiohttp.py", line 341, in execute
await raise_response_error(resp, "Not a JSON answer")
File "/usr/local/lib/python3.12/site-packages/gql/transport/aiohttp.py", line 321, in raise_response_error
raise TransportServerError(str(e), e.status) from e
gql.transport.exceptions.TransportServerError: 429, message='Too Many Requests', url='https://app.hydrawise.com/api/v2/graph'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant