Skip to content

Commit

Permalink
Switch sockets: fix invalid heating/ integrated device
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Aug 25, 2024
1 parent 91f0e53 commit cb3a3b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/templates/includes/switchsocket.tpl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{ define "switchsocket" }}
standbypower: {{ .standbypower }}
features:
{{- if ne .integrateddevice "false" }}
{{- if and .integrateddevice (ne .integrateddevice "false") }}
- integrateddevice
{{- end }}
{{- if ne .heating "false" }}
{{- if and .heating (ne .heating "false") }}
- heating
{{- end }}
{{- if .icon }}
Expand Down

0 comments on commit cb3a3b4

Please sign in to comment.