Don't show boost button by default for ui-created loadpoints (#27504)
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled

This commit is contained in:
Michael Geers 2026-02-19 10:03:25 +01:00 • committed by GitHub
parent fced4194de
commit d813989648
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 10 deletions

View file

@ -44,6 +44,7 @@ func SplitConfig(payload map[string]any) (DynamicConfig, map[string]any, error)
DynamicConfig `mapstructure:",squash"`
Other map[string]any `mapstructure:",remain"`
}
cc.BatteryBoostLimit = 100 // default: disabled
if err := util.DecodeOther(payload, &cc); err != nil {
return DynamicConfig{}, nil, err