evcc-io/util/templates/includes/switchsocket.tpl

5 lines
191 B
Smarty

{{define "switchsocket"}}
standbypower: {{ .standbypower }}
{{ if eq .integrateddevice "true" }}features: ["integrateddevice"]{{ end }}
{{ if ne .icon "" }}icon: {{ .icon }}{{ end }}
{{end}}