mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-25 08:54:26 +01:00
Fixed typing (#1186)
* 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 * Fixed card access typing
This commit is contained in:
@@ -3,6 +3,7 @@ import datetime
|
||||
import apis
|
||||
from helper import scale, pos_to_color, rgb_dec565
|
||||
from pages import LuiPagesGen
|
||||
from luibackend.config import Card
|
||||
|
||||
class LuiController(object):
|
||||
|
||||
@@ -460,7 +461,7 @@ class LuiController(object):
|
||||
apis.ha_api.get_entity(entity_id).call_service("finish")
|
||||
|
||||
@property
|
||||
def current_card(self) -> str:
|
||||
def current_card(self) -> Card:
|
||||
"""Used to get the current card"""
|
||||
|
||||
return self._current_card
|
||||
|
||||
Reference in New Issue
Block a user