Vehicles: remove vin from commons template (#14571)
This commit is contained in:
parent
01f20644e1
commit
8a31056c90
9 changed files with 16 additions and 11 deletions
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -8,9 +8,6 @@ icon: {{ .icon }}
|
|||
{{- if .capacity }}
|
||||
capacity: {{ .capacity }}
|
||||
{{- end }}
|
||||
{{- if .vin }}
|
||||
vin: {{ .vin }}
|
||||
{{- end }}
|
||||
{{- if .phases }}
|
||||
phases: {{ .phases }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue