This commit is contained in:
Johannes Braun
2022-12-30 13:59:57 +01:00
parent ccdc3a9a77
commit 18c6cfd7b1
3 changed files with 12 additions and 0 deletions

View File

@@ -229,6 +229,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 ""
# Internal types
if entityType == "delete":