Update nspanel-lovelace-ui.py

This commit is contained in:
joBr99
2022-03-20 01:15:40 +01:00
committed by GitHub
parent 81f432bbdd
commit 95857b303f

View File

@@ -295,7 +295,7 @@ class NsPanelLovelaceUI:
self.api.log(f"Got state_callback from {entity}", level="DEBUG")
if page_type == "cardEntities":
if page_type IN ["cardEntities", "cardGrid"]:
items = current_page_config["items"]
if entity in items:
self.api.log(f"State change on current page for {entity}", level="DEBUG")