Allow vehicle priority take precedence over loadpoint priority (#6417)

This commit is contained in:
andig 2023-02-26 13:39:27 +01:00 • committed by GitHub
parent 4af116a532
commit 1d1d79bd44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 89 additions and 40 deletions

View file

@ -15,6 +15,7 @@ type ActionConfig struct {
MaxCurrent *float64 `mapstructure:"maxCurrent,omitempty"` // Maximum Current
MinSoc *int `mapstructure:"minSoc,omitempty"` // Minimum Soc
TargetSoc *int `mapstructure:"targetSoc,omitempty"` // Target Soc
Priority *int `mapstructure:"priority,omitempty"` // Priority
}
// Merge merges all non-nil properties of the additional config into the base config.