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:
Odianosen Ejale
2024-02-19 20:45:31 +00:00
committed by GitHub
parent e796891d8e
commit 66f83732bb

View File

@@ -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