fixed alerts

This commit is contained in:
Johannes Braun
2022-03-25 14:34:06 +01:00
parent 505db42064
commit 464e625eaa
4 changed files with 4 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ class LuiBackendConfig(object):
LOGGER.info(f"Parsed Page config to the following Tree: \n {self._page_config.dump()}")
def check(self):
errors = 0
return
def get(self, name):
value = self._config.get(name)

View File

@@ -1,5 +1,6 @@
import logging
import datetime
from helper import scale, pos_to_color
from pages import LuiPagesGen

View File

@@ -3,7 +3,7 @@ import datetime
from icon_mapping import get_icon_id
from icons import get_icon_id_ha
from helper import scale, pos_to_color, rgb_dec565, rgb_brightness
from helper import scale, rgb_dec565, rgb_brightness
from localization import get_translation
# check Babel