Since latest update "* '' has invalid keys: resetondisconnect"
Closed this issue · 2 comments
Hi,
since the latest update 2 days ago my HA-Addon won't start anymore, giving me the following error in the log:
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2023/12/24 17:05:38 evcc 0.123.1
[main ] INFO 2023/12/24 17:05:38 using config file: /config/evcc.yaml
[main ] INFO 2023/12/24 17:05:38 starting ui and api at :7070
[main ] FATAL 2023/12/24 17:05:39 failed configuring loadpoints: failed configuring loadpoint: 1 error(s) decoding:
* '' has invalid keys: resetondisconnect
[main ] FATAL 2023/12/24 17:05:39 will attempt restart in: 5m0s
I have the same error on 2 separate instances. I wish I could go into more troubleshooting, but I cannot understand the fatal error at all.
A fresh install with the same config didn't change the problem.
https://github.com/evcc-io/evcc/releases/tag/0.123.0
Various yaml settings like minSoc, targetSoc, resetOnDisconnect and others have been removed. If you encounter errors like:
failed configuring loadpoint 1 error(s) decoding: * '' has invalid keys abc
simply remove the offending abc entry. These setting can now be established using the UI. See #10978 and #11167 for details.
In particular, resetOnDisconnect has been removed. resetOnDisconnect is always active now, if yaml config has a default mode. If you do not wish to use resetOnDisconnect, remove mode from yaml.
Oh stupid me. Thanks for the help and Merry Christmas!