mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-21 13:44:45 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user