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

Homeassistant Public API "unknown" error (V 1.2) during setup (solved) #387

Open
NoUsername10 opened this issue Dec 18, 2024 · 0 comments
Open

Comments

@NoUsername10
Copy link

NoUsername10 commented Dec 18, 2024

*Solved
The "unkown" error changed to "no devices" after some time.
New API key, waited, added Ecoflow devices to account again (in Ecoflow app) and it worked.

Hi.
I get this error.

I have generated a new API key, system in Europe.
Hass info:
Core 2024.11.3
Supervisor 2024.12.0
Operating System 13.2

Using the American link i get access error (('accessKey is invalid',), {}), so it seems to be something with the EU server?

Image

This is the log:
`2024-12-18 14:22:42.525 ERROR (MainThread) [custom_components.ecoflow_cloud.config_flow] Unexpected exception in fetch device action
Traceback (most recent call last):

File "/config/custom_components/ecoflow_cloud/config_flow.py", line 272, in async_step_select_device
devices = await self.auth.fetch_all_available_devices()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/config/custom_components/ecoflow_cloud/api/public_api.py", line 46, in fetch_all_available_devices
for device in response["data"]:
~~~~~~~~^^^^^^^^

KeyError: 'data'`

@NoUsername10 NoUsername10 changed the title Homeassistant Public API "unknown" error (V 1.2) during setup Homeassistant Public API "unknown" error (V 1.2) during setup (solved) Dec 18, 2024
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