Run without loadpoints (#26367)

Co-authored-by: andig <andi@evcc.io>
This commit is contained in:
Michael Geers 2026-01-05 13:47:47 +01:00 • committed by GitHub
parent ecaa0e6068
commit b399931c4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 108 additions and 45 deletions

View file

@ -279,7 +279,7 @@ func runRoot(cmd *cobra.Command, args []string) {
// signal devices initialized
valueChan <- util.Param{Key: keys.StartupCompleted, Val: true}
// show onboarding UI
valueChan <- util.Param{Key: keys.SetupRequired, Val: site == nil || len(site.Loadpoints()) == 0}
valueChan <- util.Param{Key: keys.SetupRequired, Val: site == nil || !site.IsConfigured()}
// setup mqtt publisher
if err == nil && conf.Mqtt.Broker != "" && conf.Mqtt.Topic != "" {