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

5 lines
180 B
Smarty

{{ define "switchsocket" }}
standbypower: {{ .standbypower }}
{{ if .integrateddevice }}features: ["integrateddevice"]{{ end }}
{{ if .icon }}icon: {{ .icon }}{{ end }}
{{ end -}}