Vehicles: remove vin from commons template (#14571)

This commit is contained in:
andig 2024-06-26 09:53:41 +02:00 • committed by GitHub
parent 01f20644e1
commit 8a31056c90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 16 additions and 11 deletions

View file

@ -36,9 +36,10 @@ params:
- preset: vehicle-identify
render: |
type: citroen
{{ include "vehicle-common" . }}
vin: {{ .vin }}
user: {{ .user }}
tokens:
access: {{ .accessToken }}
refresh: {{ .refreshToken }}
{{ include "vehicle-common" . }}
{{ include "vehicle-identify" . }}

View file

@ -36,9 +36,10 @@ params:
- preset: vehicle-identify
render: |
type: ds
{{ include "vehicle-common" . }}
vin: {{ .vin }}
user: {{ .user }}
tokens:
access: {{ .accessToken }}
refresh: {{ .refreshToken }}
{{ include "vehicle-common" . }}
{{ include "vehicle-identify" . }}

View file

@ -41,11 +41,12 @@ params:
- preset: vehicle-identify
render: |
type: ford-connect
{{ include "vehicle-common" . }}
vin: {{ .vin }}
credentials:
id: {{ .clientid }}
secret: {{ .clientsecret }}
tokens:
access: {{ .accessToken }}
refresh: {{ .refreshToken }}
{{ include "vehicle-common" . }}
{{ include "vehicle-identify" . }}

View file

@ -38,10 +38,11 @@ params:
- preset: vehicle-identify
render: |
type: mercedes
{{ include "vehicle-common" . }}
vin: {{ .vin }}
user: {{ .user }}
region: {{ .region }}
tokens:
access: {{ .accessToken }}
refresh: {{ .refreshToken }}
{{ include "vehicle-common" . }}
{{ include "vehicle-identify" . }}

View file

@ -36,9 +36,10 @@ params:
- preset: vehicle-identify
render: |
type: opel
{{ include "vehicle-common" . }}
vin: {{ .vin }}
user: {{ .user }}
tokens:
access: {{ .accessToken }}
refresh: {{ .refreshToken }}
{{ include "vehicle-common" . }}
{{ include "vehicle-identify" . }}

View file

@ -36,9 +36,10 @@ params:
- preset: vehicle-identify
render: |
type: peugeot
{{ include "vehicle-common" . }}
vin: {{ .vin }}
user: {{ .user }}
tokens:
access: {{ .accessToken }}
refresh: {{ .refreshToken }}
{{ include "vehicle-common" . }}
{{ include "vehicle-identify" . }}

View file

@ -40,9 +40,10 @@ params:
- preset: vehicle-identify
render: |
type: tesla
{{ include "vehicle-common" . }}
vin: {{ .vin }}
tokens:
access: {{ .accessToken }}
refresh: {{ .refreshToken }}
{{ include "vehicle-common" . }}
{{ include "vehicle-identify" . }}
features: ["coarsecurrent"]

View file

@ -33,8 +33,9 @@ params:
- preset: vehicle-identify
render: |
type: tronity
{{ include "vehicle-common" . }}
vin: {{ .vin }}
credentials:
id: {{ .clientid }}
secret: {{ .clientsecret }}
{{ include "vehicle-common" . }}
{{ include "vehicle-identify" . }}

View file

@ -8,9 +8,6 @@ icon: {{ .icon }}
{{- if .capacity }}
capacity: {{ .capacity }}
{{- end }}
{{- if .vin }}
vin: {{ .vin }}
{{- end }}
{{- if .phases }}
phases: {{ .phases }}
{{- end }}