This commit is contained in:
Johannes
2022-08-25 23:03:53 +02:00
3 changed files with 3 additions and 2 deletions

2
.github/CODEOWNERS vendored
View File

@@ -1,2 +1,2 @@
* @joBr99
/ioBroker @britzelpuf @Armilar
/ioBroker @britzelpuf @Armilar @klein0r

View File

@@ -89,6 +89,7 @@ class LuiBackendConfig(object):
'sleepTimeout': 20,
'sleepBrightness': 20,
'screenBrightness': 100,
'defaultBackgroundColor': "ha-dark",
'sleepTracking': None,
'sleepTrackingZones': ["not_home", "off"],
'sleepOverride': None,

View File

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