Flobz: add vehicle wakeup (#10411)
This commit is contained in:
parent
2d2921a32c
commit
db2b659883
1 changed files with 7 additions and 0 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue