bajansen / home-assistant-frank_energie

Custom Component voor Home Assistant Frank Energie prijsinformatie
66 stars 19 forks source link

"failed to set up" error when using login credentials. #110

Open opwierde opened 5 months ago

opwierde commented 5 months ago

Recently installed and I can get the generic entities but when I login successfully I get the error "failed to set up"

HA log: File "/usr/local/lib/python3.12/site-packages/python_frank_energie/models.py", line 36, in from_dict raise AuthException(errors[0]["message"]) python_frank_energie.exceptions.AuthException: user-error:user-not-found

In the Frank Energy iPhone app I can log in with the same credentials (tested)

ljsquare commented 5 months ago

Same here, In my log this appears: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/frank_energie/init.py", line 36, in async_setup_entry raise Exception("No suitable sites found for this account") Exception: No suitable sites found for this account

Jeronimo1971 commented 4 months ago

Same here

macdivernl commented 3 months ago

Here too at initial config. Haven’t tried putting credentials in later, as all values appear correctly as mentioned in the (iOS) app.

= CONFIG = Core v2024.6.4 Supervisor v2024.06.2 Operating System v12.4 Frontend v20240610.1 Frank Energie v3.0.0

HMvdZijden commented 1 month ago

No personal data possible.

Logger: homeassistant.config_entries Source: config_entries.py:604 First occurred: 11:24:50 (3 occurrences) Last logged: 11:25:16

Error setting up entry xxx@gmail.com for frank_energie Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/frank_energie/init.py", line 36, in async_setup_entry raise Exception("No suitable sites found for this account") Exception: No suitable sites found for this account

HA-Peet commented 2 weeks ago

Same here....

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/frank_energie/init.py", line 36, in async_setup_entry raise Exception("No suitable sites found for this account") Exception: No suitable sites found for this account