diff --git a/templates/definition/vehicle/flobz.yaml b/templates/definition/vehicle/flobz.yaml index 8663e0f57..501a03099 100644 --- a/templates/definition/vehicle/flobz.yaml +++ b/templates/definition/vehicle/flobz.yaml @@ -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 }}