chore: fix deprecation
This commit is contained in:
parent
91b9b117fa
commit
b54397a0fd
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,8 @@ func NewWarpWSFromConfig(ctx context.Context, other map[string]any) (api.Charger
|
|||
EnergyManagerUser string
|
||||
EnergyManagerPassword string
|
||||
EnergyMeterIndex uint
|
||||
|
||||
DisablePhaseAutoSwitch_ bool `mapstructure:"disablePhaseAutoSwitch"` // TODO deprecated
|
||||
}
|
||||
|
||||
if err := util.DecodeOther(other, &cc); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue