openkfw / smartenergy.goecharger

Home assistant integration for go echarger v2
GNU General Public License v3.0
3 stars 1 forks source link

config flow error - setup could not be completed successfully #2

Closed FSK76 closed 1 year ago

FSK76 commented 1 year ago

after saving the initial config, integration could not be loaded. Log-Message:

This error originated from a custom integration.

Logger: homeassistant.setup Source: custom_components/goechargerv2/init.py:98 Integration: go-e Charger v2 (documentation, issues) First occurred: 2:35:44 PM (1 occurrences) Last logged: 2:35:44 PM

Error during setup of component goechargerv2 Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component result = await task File "/config/custom_components/goechargerv2/init.py", line 211, in async_setup chargers_api = _setup_apis(config, hass) File "/config/custom_components/goechargerv2/init.py", line 98, in _setup_apis raise ValueError(f"Missing {DOMAIN} entry in the config") ValueError: Missing goechargerv2 entry in the config

mmacai commented 1 year ago

@FSK76 pushed an update, now it should be easier to add a charger via UI config flow, meaning no need to change configuration.yaml in any way.