Don't show boost button by default for ui-created loadpoints (#27504)
Some checks failed
Some checks failed
This commit is contained in:
parent
fced4194de
commit
d813989648
2 changed files with 42 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue