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

5 lines
196 B
Smarty

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