diff --git a/util/templates/includes/switchsocket.tpl b/util/templates/includes/switchsocket.tpl index e37766386..bb015dfd7 100644 --- a/util/templates/includes/switchsocket.tpl +++ b/util/templates/includes/switchsocket.tpl @@ -7,5 +7,7 @@ features: {{- if .heating }} - heating {{- end }} -{{ if .icon }}icon: {{ .icon }}{{ end }} -{{ end -}} +{{- if .icon }} +icon: {{ .icon }} +{{- end }} +{{- end }}