diff --git a/util/templates/includes/switchsocket.tpl b/util/templates/includes/switchsocket.tpl index bb015dfd7..1a7bcfd49 100644 --- a/util/templates/includes/switchsocket.tpl +++ b/util/templates/includes/switchsocket.tpl @@ -1,10 +1,10 @@ {{ define "switchsocket" }} standbypower: {{ .standbypower }} features: -{{- if .integrateddevice }} +{{- if ne .integrateddevice "false" }} - integrateddevice {{- end }} -{{- if .heating }} +{{- if ne .heating "false" }} - heating {{- end }} {{- if .icon }}