Tronity: fix template (#8256)
This commit is contained in:
parent
ee16e3bb67
commit
edfe6db3cf
2 changed files with 18 additions and 8 deletions
|
|
@ -7,9 +7,19 @@ requirements:
|
|||
evcc: ["sponsorship"]
|
||||
params:
|
||||
- name: title
|
||||
- name: user
|
||||
- name: clientid
|
||||
description:
|
||||
generic: Tronity API Client ID
|
||||
help:
|
||||
de: Einrichtung unter https://app.tronity.tech
|
||||
en: Setup at https://app.tronity.tech
|
||||
required: true
|
||||
- name: password
|
||||
- name: clientsecret
|
||||
description:
|
||||
generic: Tronity API Client Secret
|
||||
help:
|
||||
de: Einrichtung unter https://app.tronity.tech
|
||||
en: Setup at https://app.tronity.tech
|
||||
required: true
|
||||
- name: vin
|
||||
example: W...
|
||||
|
|
@ -30,8 +40,8 @@ render: |
|
|||
icon: {{ .icon }}
|
||||
{{- end }}
|
||||
credentials:
|
||||
id: {{ .user }}
|
||||
secret: {{ .password }}
|
||||
id: {{ .clientid }}
|
||||
secret: {{ .clientsecret }}
|
||||
capacity: {{ .capacity }}
|
||||
{{- if .phases }}
|
||||
phases: {{ .phases }}
|
||||
|
|
|
|||
|
|
@ -7,16 +7,16 @@ render:
|
|||
type: template
|
||||
template: tronity
|
||||
title: # Wird in der Benutzeroberfläche angezeigt (Optional)
|
||||
user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
|
||||
password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
|
||||
clientid: # Einrichtung unter https://app.tronity.tech
|
||||
clientsecret: # Einrichtung unter https://app.tronity.tech
|
||||
vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (Optional)
|
||||
capacity: 10 # Akkukapazität in kWh (Optional)
|
||||
advanced: |
|
||||
type: template
|
||||
template: tronity
|
||||
title: # Wird in der Benutzeroberfläche angezeigt (Optional)
|
||||
user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
|
||||
password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
|
||||
clientid: # Einrichtung unter https://app.tronity.tech
|
||||
clientsecret: # Einrichtung unter https://app.tronity.tech
|
||||
vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (Optional)
|
||||
capacity: 10 # Akkukapazität in kWh (Optional)
|
||||
phases: 3 # Die maximale Anzahl der Phasen welche genutzt werden können (Optional)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue