diff --git a/cmd/configure/configure.go b/cmd/configure/configure.go index 43fe87044..b1b832d63 100644 --- a/cmd/configure/configure.go +++ b/cmd/configure/configure.go @@ -17,15 +17,14 @@ type device struct { } type loadpoint struct { - Title string // TODO Perspektivisch können wir was aus core wiederverwenden, für später - Charger string - ChargeMeter string - Vehicle string - Mode string - MinCurrent int - MaxCurrent int - Phases int - ResetOnDisconnect string + Title string // TODO Perspektivisch können wir was aus core wiederverwenden, für später + Charger string + ChargeMeter string + Vehicle string + Mode string + MinCurrent int + MaxCurrent int + Phases int } type globalConfig struct { diff --git a/cmd/configure/configure.tpl b/cmd/configure/configure.tpl index 1bc1e6d7b..07c853594 100644 --- a/cmd/configure/configure.tpl +++ b/cmd/configure/configure.tpl @@ -57,7 +57,6 @@ loadpoints: phases: {{ .Phases }} mincurrent: {{ .MinCurrent }} maxcurrent: {{ .MaxCurrent }} - resetOnDisconnect: {{ .ResetOnDisconnect }} {{- end }} {{- end }} diff --git a/cmd/configure/main.go b/cmd/configure/main.go index 283584b9b..041142df6 100644 --- a/cmd/configure/main.go +++ b/cmd/configure/main.go @@ -426,12 +426,6 @@ func (c *CmdConfigure) configureLoadpoints() { fmt.Println() loadpoint.Mode = c.askValue(question{valueType: templates.TypeChargeModes, excludeNone: true}) - - fmt.Println() - loadpoint.ResetOnDisconnect = c.askValue(question{ - label: c.localizedString("Loadpoint_ResetOnDisconnect"), - valueType: templates.TypeBool, - }) c.configuration.AddLoadpoint(loadpoint) fmt.Println()