Configure: remove resetOnDisconnect (#11212)
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled

This commit is contained in:
andig 2023-12-23 15:07:10 +01:00 • committed by GitHub
parent 26ed34081d
commit d2aaa82d43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 16 deletions

View file

@ -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 {

View file

@ -57,7 +57,6 @@ loadpoints:
phases: {{ .Phases }}
mincurrent: {{ .MinCurrent }}
maxcurrent: {{ .MaxCurrent }}
resetOnDisconnect: {{ .ResetOnDisconnect }}
{{- end }}
{{- end }}

View file

@ -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()