Skip to content

Commit

Permalink
Add Mini, Dacia, Smart #1
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jul 21, 2024
1 parent f92d993 commit 089358e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/definition/vehicle/dacia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ products:
params:
- preset: vehicle-base
- preset: vehicle-identify
- name: welcomecharge
advanced: true
render: |
type: dacia
{{ include "vehicle-base" . }}
{{ include "vehicle-identify" . }}
{{- if .welcomecharge }}
features: ["welcomecharge"]
{{- end }}
5 changes: 5 additions & 0 deletions templates/definition/vehicle/mini.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ params:
# - EU
default: EU
advanced: true
- name: welcomecharge
advanced: true
render: |
type: mini
{{ include "vehicle-base" . }}
{{ include "vehicle-identify" . }}
{{- if ne .region "EU" }}
region: {{ .region }}
{{- end }}
{{- if .welcomecharge }}
features: ["welcomecharge"]
{{- end }}
5 changes: 5 additions & 0 deletions templates/definition/vehicle/smart-hello.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ products:
params:
- preset: vehicle-base
- preset: vehicle-identify
- name: welcomecharge
advanced: true
render: |
type: smart-hello
{{ include "vehicle-base" . }}
{{ include "vehicle-identify" . }}
{{- if .welcomecharge }}
features: ["welcomecharge"]
{{- end }}

0 comments on commit 089358e

Please sign in to comment.