mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-24 15:02:15 +01:00
@@ -145,8 +145,8 @@ class LuiController(object):
|
|||||||
|
|
||||||
items = self._config.get_all_entity_names()
|
items = self._config.get_all_entity_names()
|
||||||
apis.ha_api.log(f"gtest123: {items}")
|
apis.ha_api.log(f"gtest123: {items}")
|
||||||
prefixes = ("navigate.")
|
prefixes = ("navigate.", "delete", "iText")
|
||||||
items = [x for x in items if not x.startswith(prefixes)]
|
items = [x for x in items if not (x.startswith(prefixes) or x is None)]
|
||||||
apis.ha_api.log(f"Registering callbacks for the following items: {items}")
|
apis.ha_api.log(f"Registering callbacks for the following items: {items}")
|
||||||
for item in items:
|
for item in items:
|
||||||
if apis.ha_api.entity_exists(item):
|
if apis.ha_api.entity_exists(item):
|
||||||
|
|||||||
Reference in New Issue
Block a user