Update nspanel-lovelace-ui.py

This commit is contained in:
Johannes
2022-03-20 01:15:40 +01:00
committed by GitHub
parent 9ca085e296
commit 0809443b5d

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")