evcc-io/templates/definition/vehicle/mini.yaml

37 lines
1.2 KiB
YAML

template: mini
deprecated: true
products:
- brand: Mini
requirements:
description:
de: |
Benötigt `hcaptcha` Token. Dieses muss einmalig unter [bimmer-connected.readthedocs.io](https://bimmer-connected.readthedocs.io/en/latest/captcha/rest_of_world.html) generiert werden. Das Token ist nur für kurze Zeit gültig. Bitte möglichst schnell nach Generierung in die Konfiguration kopieren und evcc starten.
en: |
Requires `hcaptcha` token. This must be generated once at [bimmer-connected.readthedocs.io](https://bimmer-connected.readthedocs.io/en/latest/captcha/rest_of_world.html). The token is only valid for a short time. Please copy it into the configuration and start evcc as soon as possible after generation.
params:
- preset: vehicle-base
- name: vin
example: WBMW...
- name: region
description:
de: Region
en: Region
type: choice
choice: ["EU", "NA"]
default: EU
required: true
advanced: true
- name: hcaptcha
description:
de: Captcha Token
en: Captcha Token
required: true
- preset: vehicle-features
render: |
type: mini
{{ include "base" . }}
{{- if ne .region "EU" }}
region: {{ .region }}
{{- end }}
hcaptcha: {{ .hcaptcha }}
{{ include "features" . }}