From b54397a0fd97931e581ada5c446ec147df6098a3 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 1 Mar 2026 10:53:34 +0100 Subject: [PATCH] chore: fix deprecation --- charger/warp-ws.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charger/warp-ws.go b/charger/warp-ws.go index 7a56ecb93..e8a4acff5 100644 --- a/charger/warp-ws.go +++ b/charger/warp-ws.go @@ -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 {