kirei / hass-chargeamps

Home Assistant Component for Chargeamps
Other
26 stars 8 forks source link

Error during setup of component chargeamps #48

Closed Chillkroete1206 closed 10 months ago

Chillkroete1206 commented 11 months ago

Hi,

after downloading the repository in HACS and adding my credentials (mailaddress, password and APi_Key) in my configuration.yaml I recieve an error, once I restart HASS:

2023-12-27 21:34:45.940 ERROR (MainThread) [homeassistant.setup] Error during setup of component chargeamps File "/config/custom_components/chargeamps/__init__.py", line 118, in async_setup File "/usr/local/lib/python3.11/site-packages/chargeamps/external.py", line 84, in get_chargepoints File "/usr/local/lib/python3.11/site-packages/chargeamps/external.py", line 68, in _get File "/usr/local/lib/python3.11/site-packages/chargeamps/external.py", line 49, in _ensure_token

Any idea for potential reasons? I checked the credentials (email and password), but couldnt verify the API key. However this is exacly how I received it by the Charge Amps support.

Many thanks for your assistance!

Chillkroete1206 commented 10 months ago

I figured the support did not provide an activated API key. After the support provided a working API key, my installation worked like a charme.

I also conducted changes discussed here, but I am uncertain, if this was required. I believe the bug has been fixed?!