evcc-io/templates/definition/messenger/pushover.yaml
Maschga 7f772bad73
Config UI: make messengers configurable (#26946)
Co-authored-by: andig <cpuidle@gmail.com>
Co-authored-by: andig <andi@evcc.io>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Michael Geers <michael@geers.tv>
2026-02-17 12:26:03 +01:00

52 lines
1.6 KiB
YAML

template: pushover
products:
- brand: Pushover
params:
- name: app
required: true
mask: true
example: azGDORePK8gMaC0QOYAMyEEuzJnyUi
description:
de: API Token
en: API token
help:
de: API-Token der Anwendung. Erhältlich unter [pushover.net](https://pushover.net/apps/build) nach dem Erstellen einer Applikation.
en: API token of the application. Get it from [pushover.net](https://pushover.net/apps/build) after creating an application.
- name: recipients
required: true
example: uQiRzpo4DXghDmr9QzzfQu27cmVRsG
type: list
description:
de: Empfänger
en: Recipients
help:
de: >
Benutzerkennungen und Gruppenkennungen können angegeben werden. Ein Eintrag pro Zeile.
Gruppen müssen zuerst unter [pushover.net](https://pushover.net/groups/build) erstellt werden.
en: >
User keys and group identifiers can be specified. One entry per line.
Groups must first be created at [pushover.net](https://pushover.net/groups/build).
- name: devices
example: droid2
type: list
description:
de: Gerätenamen
en: Device names
help:
de: Beschränken der Benachrichtigungen auf bestimmte Geräte. Leer lassen, um an alle zu senden. Ein Eintrag pro Zeile.
en: Restrict notifications to specific devices. Leave blank to send to all. One entry per line.
render: |
type: pushover
app: {{ .app }}
{{- if .recipients }}
recipients:
{{- range .recipients }}
- {{ . }}
{{- end }}
{{- end }}
{{- if .devices }}
devices:
{{- range .devices }}
- {{ . }}
{{- end }}
{{- end }}