Error during setup of component lightwaverf_energy
Traceback (most recent call last):
File "/usr/src/app/homeassistant/setup.py", line 156, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/lightwaverf_energy/__init__.py", line 27, in setup
hass.data[DATA_KEY] = config[DOMAIN][CONF_SCAN_INTERVAL]
TypeError: list indices must be integers or slices, not str
in 0.96.x i get the error