Current Card access (#1184)

* Turn app into AD Base app

* Added the ability to keep the messages being sent quiet

* fix little conflict

* Allow other apps to have access to current app

* Access other cards from apps
This commit is contained in:
Odianosen Ejale
2024-02-19 17:05:00 +00:00
committed by GitHub
parent ba46bc9189
commit e796891d8e
2 changed files with 14 additions and 2 deletions

View File

@@ -458,3 +458,9 @@ class LuiController(object):
apis.ha_api.get_entity(entity_id).call_service("pause")
if button_type == "timer-finish":
apis.ha_api.get_entity(entity_id).call_service("finish")
@property
def current_card(self) -> str:
"""Used to get the current card"""
return self._current_card