mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-17 02:17:01 +01:00
Update nspanel-lovelace-ui.py
This commit is contained in:
@@ -295,7 +295,7 @@ class NsPanelLovelaceUI:
|
|||||||
|
|
||||||
self.api.log(f"Got state_callback from {entity}", level="DEBUG")
|
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"]
|
items = current_page_config["items"]
|
||||||
if entity in items:
|
if entity in items:
|
||||||
self.api.log(f"State change on current page for {entity}", level="DEBUG")
|
self.api.log(f"State change on current page for {entity}", level="DEBUG")
|
||||||
|
|||||||
Reference in New Issue
Block a user