From 66cd7341c9f8432d4cd6243416a392bddb83b631 Mon Sep 17 00:00:00 2001 From: Johannes <29555657+joBr99@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:38:34 +0200 Subject: [PATCH] fixes #936 --- apps/nspanel-lovelace-ui/luibackend/pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 14ee00a1..995872cf 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -198,8 +198,8 @@ class LuiPagesGen(object): return "" if item.condStateNot is not None and item.condStateNot == state: return "" - if item.condTemplate is not None and apis.ha_api.render_template(item.condTemplate): - return "" + if item.condTemplate is not None and apis.ha_api.render_template(item.condTemplate): + return "" # Internal types if entityType == "delete":