Flobz: add vehicle wakeup (#10411)

This commit is contained in:
mdkeil 2023-10-21 13:57:27 +02:00 • committed by GitHub
parent 2d2921a32c
commit db2b659883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,13 @@ render: |
climater:
{{- include "source" . | indent 2 }}
jq: .preconditionning.air_conditioning.status != "Disabled"
wakeup:
source: http
{{- if .host }}
uri: http://{{ .host }}{{ if .port }}:{{ .port }}{{ end }}/wakeup/{{ .vin }}
{{- else }}
uri: {{ trimSuffix "/" .url }}/wakeup/{{ .vin }}
{{- end }}
{{- define "source" }}
source: http
{{- if .host }}