mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-25 17:04:25 +01:00
fixed alerts
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import logging
|
||||
import datetime
|
||||
from helper import scale, pos_to_color
|
||||
|
||||
from pages import LuiPagesGen
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import asyncio
|
||||
import logging
|
||||
import sys
|
||||
import traceback
|
||||
import uuid
|
||||
|
||||
import hassapi as hass
|
||||
|
||||
@@ -77,6 +74,6 @@ class NsPanelLovelaceUIManager(hass.Hass):
|
||||
updater = Updater(send_mqtt_msg, topic_send, mode, desired_display_firmware_version, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url)
|
||||
|
||||
topic_recv = cfg.get("panelRecvTopic")
|
||||
mqtt_listener = LuiMqttListener(mqtt_api, topic_recv, controller, updater)
|
||||
LuiMqttListener(mqtt_api, topic_recv, controller, updater)
|
||||
|
||||
LOGGER.info('Started')
|
||||
|
||||
Reference in New Issue
Block a user