mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-26 01:14:25 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui
This commit is contained in:
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@@ -1,2 +1,2 @@
|
||||
* @joBr99
|
||||
/ioBroker @britzelpuf @Armilar
|
||||
/ioBroker @britzelpuf @Armilar @klein0r
|
||||
|
||||
@@ -89,6 +89,7 @@ class LuiBackendConfig(object):
|
||||
'sleepTimeout': 20,
|
||||
'sleepBrightness': 20,
|
||||
'screenBrightness': 100,
|
||||
'defaultBackgroundColor': "ha-dark",
|
||||
'sleepTracking': None,
|
||||
'sleepTrackingZones': ["not_home", "off"],
|
||||
'sleepOverride': None,
|
||||
|
||||
@@ -503,7 +503,7 @@ class LuiPagesGen(object):
|
||||
#add button to show sensor state
|
||||
add_btn = ""
|
||||
if "open_sensors" in entity.attributes and entity.attributes.open_sensors is not None:
|
||||
add_btn=f"{get_icon_id('progress-alert')}~{rgb_dec565([243,179,0])}~opnSensorNotify"
|
||||
add_btn=f"{get_icon_id('progress-alert')}~{rgb_dec565([243,179,0])}~"
|
||||
if alarmBtn is not None and type(alarmBtn) is dict:
|
||||
entity = alarmBtn.get("entity")
|
||||
iconnav = get_icon_id_ha("alarm-arm-fail", overwrite=alarmBtn.get("icon"))
|
||||
|
||||
Reference in New Issue
Block a user