openkfw/smartenergy.goecharger

config flow error - setup could not be completed successfully

FSK76 opened this issue · 1 comments

FSK76 commented

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

@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.