evcc-io/util/templates/includes/ocpp.tpl
andig 7803937a0c
Ocpp: reduce timeouts during testing (#7342)
Identifies test using build tags until https://github.com/golang/go/issues/52600 becomes available.
2023-04-10 17:05:20 +02:00

18 lines
362 B
Smarty

{{ define "ocpp" }}
type: ocpp
{{- if .stationid }}
stationid: {{ .stationid }}
{{- end }}
{{- if ne .connector "1" }}
connector: {{ .connector }}
{{- end }}
{{- if .idtag }}
idtag: {{ .idtag }}
{{- end }}
{{- if ne .connecttimeout "5m" }}
connecttimeout: {{ .connecttimeout }}
{{- end }}
{{- if ne .timeout "2m" }}
timeout: {{ .timeout }}
{{- end }}
{{- end }}