From 23c9df2624718e6a06f0b409229171c39e636e53 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Thu, 29 Dec 2022 16:35:01 +0100 Subject: [PATCH] Update config.py --- apps/nspanel-lovelace-ui/luibackend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/config.py b/apps/nspanel-lovelace-ui/luibackend/config.py index 326e851d..12db0acf 100644 --- a/apps/nspanel-lovelace-ui/luibackend/config.py +++ b/apps/nspanel-lovelace-ui/luibackend/config.py @@ -65,7 +65,7 @@ class Card(object): entitys = [] if self.entity is not None: entitys.append(self.entity) - else: + if self.entities: for e in self.entities: entitys.append(e) return entitys