Skip to content

Commit

Permalink
Flobz: add vehicle wakeup (evcc-io#10411)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdkeil authored and thierolm committed Oct 21, 2023
1 parent 556b046 commit fc65941
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/definition/vehicle/flobz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit fc65941

Please sign in to comment.