Vaillant: support more countries (BC) (#28096)

This commit is contained in:
Robbert Dol 2026-03-24 17:34:59 +01:00 • committed by GitHub
parent a56d7f010b
commit 7c6f0691df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,8 +14,50 @@ params:
- name: password
- name: realm
type: choice
choice: [DE, AT]
default: DE
choice:
[
"albania",
"austria",
"belgium",
"bosnia",
"bulgaria",
"croatia",
"cyprus",
"czechrepublic",
"denmark",
"estonia",
"finland",
"france",
"georgia",
"germany",
"greece",
"hungary",
"ireland",
"italy",
"kosovo",
"latvia",
"lithuania",
"luxembourg",
"moldavia",
"netherlands",
"new-zealand",
"north-macedonia",
"norway",
"poland",
"portugal",
"romania",
"serbia",
"slovakia",
"slovenia",
"spain",
"sweden",
"switzerland",
"turkiye",
"ukraine",
"unitedkingdom",
"uzbekistan",
]
default: germany
description:
de: Region
en: Region
@ -42,7 +84,7 @@ render: |
type: vaillant
user: {{ .user }}
password: {{ .password }}
realm: {{ if eq .realm "AT" -}} vaillant-austria-b2c {{- end }}
realm: {{ if eq .realm "DE" -}} vaillant-germany-b2c {{ else if eq .realm "AT" -}} vaillant-austria-b2c {{ else }} vaillant-{{ .realm }}-b2c {{ end }}
{{- if .system }}
system: {{ .system }}
{{- end }}