Update nspanel-lovelace-ui.py

This commit is contained in:
Johannes
2022-03-20 01:16:48 +01:00
committed by GitHub
parent 0809443b5d
commit 6a9b4d4f0e

View File

@@ -295,7 +295,7 @@ class NsPanelLovelaceUI:
self.api.log(f"Got state_callback from {entity}", level="DEBUG")
if page_type IN ["cardEntities", "cardGrid"]:
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")