Welcome Charge: fix templates (#17132)

This commit is contained in:
andig 2024-11-07 21:30:32 +01:00 • committed by GitHub
parent 08a9a6857b
commit 37c4552e1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View file

@ -24,6 +24,6 @@ params:
render: |
type: keba-modbus
{{- include "modbus" . }}
{{- if .welcomecharge }}
{{- if eq .welcomecharge "true" }}
features: ["welcomecharge"]
{{- end }}

View file

@ -24,6 +24,6 @@ render: |
{{- if ne .region "EU" }}
region: {{ .region }}
{{- end }}
{{- if .welcomecharge }}
{{- if eq .welcomecharge "true" }}
features: ["welcomecharge"]
{{- end }}

View file

@ -10,6 +10,6 @@ render: |
type: dacia
{{ include "vehicle-base" . }}
{{ include "vehicle-identify" . }}
{{- if .welcomecharge }}
{{- if eq .welcomecharge "true" }}
features: ["welcomecharge"]
{{- end }}

View file

@ -18,6 +18,6 @@ render: |
pin: {{ .pin }} # mandatory to deep refresh Soc
{{- end }}
{{ include "vehicle-identify" . }}
{{- if .welcomecharge }}
{{- if eq .welcomecharge "true" }}
features: ["welcomecharge"]
{{- end }}

View file

@ -24,6 +24,6 @@ render: |
{{- if ne .region "EU" }}
region: {{ .region }}
{{- end }}
{{- if .welcomecharge }}
{{- if eq .welcomecharge "true" }}
features: ["welcomecharge"]
{{- end }}

View file

@ -12,6 +12,6 @@ render: |
type: cupra
{{ include "vehicle-base" . }}
{{ include "vehicle-identify" . }}
{{- if .welcomecharge }}
{{- if eq .welcomecharge "true" }}
features: ["welcomecharge"]
{{- end }}

View file

@ -12,6 +12,6 @@ render: |
type: smart-hello
{{ include "vehicle-base" . }}
{{ include "vehicle-identify" . }}
{{- if .welcomecharge }}
{{- if eq .welcomecharge "true" }}
features: ["welcomecharge"]
{{- end }}