This commit is contained in:
joBr99
2022-06-02 21:20:52 +02:00
parent 42c7f3d903
commit d5b4a7b086

View File

@@ -425,8 +425,8 @@ class LuiPagesGen(object):
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])}~opnSensorNotify"
if alarmBtn is not None and type(alarmBtn) is dict: if alarmBtn is not None and type(alarmBtn) is dict:
entity = alarmBtn.get("entity") entity = alarmBtn.get("entity")
icon = alarmBtn.get("icon", "progress-alert") iconnav = alarmBtn.get("icon", "progress-alert")
add_btn=f"{get_icon_id(icon)}~{rgb_dec565([243,179,0])}~{entity}" add_btn=f"{get_icon_id(iconnav)}~{rgb_dec565([243,179,0])}~{entity}"
# add padding to arm buttons # add padding to arm buttons
arm_buttons = "" arm_buttons = ""