diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index f9c2198..2a7cd31 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -2599,7 +2599,7 @@ variables: color_03: "33808" #Grey light color_04: "1055" #Blue color_05: "63488" #Red - + color_06: "52857" #Grey super light ###### "GENERAL" NEXTION FONT ICON MAPPING ##### @@ -2612,8 +2612,7 @@ variables: home_button01_icon: "" home_button02_icon: "" home_button03_icon: "" - home_button04_icon_read: "\U0000E1ED" #E1ED - home_button04_icon_unread: "\U0000E6CE" #E6CE + home_button04_icon: "\U0000E1ED" #E1ED home_button05_icon: "\U0000E432" #E432 home_button06_icon: "\U0000EDCF" #EDCF home_button07_icon: "" @@ -4022,13 +4021,13 @@ action: - alias: "Set notifiy pic" variables: set_button04_icon: >- - {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button04_icon_read}} - {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button04_icon_unread }} + {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button04_icon}} + {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button04_icon }} {%- else -%} {{ blank_icon }} {%- endif -%} set_button04_icon_font: >- - {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ color_03 }} - {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ color_05 }} + {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ color_05 }} + {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ color_06 }} {%- else -%} {{ color_03 }} {%- endif -%} ##### SET ICON Font - Notify ##### @@ -5793,13 +5792,13 @@ action: ##### Set notify icon ##### - variables: set_button04_icon: >- - {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button04_icon_read}} - {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button04_icon_unread }} + {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button04_icon}} + {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button04_icon }} {%- else -%} {{ blank_icon }} {%- endif -%} set_button04_icon_font: >- - {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ color_03 }} - {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ color_05 }} + {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ color_05 }} + {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ color_06 }} {%- else -%} {{ color_03 }} {%- endif -%} ##### SET ICON Font - Notify #####