From aca405b37324783da144658d1bc85a6b012d327f Mon Sep 17 00:00:00 2001 From: andig Date: Wed, 21 Aug 2024 14:40:34 +0200 Subject: [PATCH] Loadpoint: fix integrated device/ heating attributes --- util/templates/includes/switchsocket.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}