diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index cdd5bc4..b5a9fc0 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -1205,6 +1205,10 @@ variables: weather_icon_lightning: "55" weather_icon_wind: "56" + # humidity_pic + humidity_pic_on: "115" + humidity_pic_blank: "51" + # hotw_bt_pic hotw_bt_blank: "100" hotw_bt_off: "101" @@ -1214,6 +1218,11 @@ variables: heating_bt_pic_off: "103" heating_bt_pic_on: "104" + # home_buttons + home_button_blank: "116" + home_button_notify_white: "117" + home_button_notify_red: "118" + ###### NEXTION COLOR MAPPING ##### button_color_1: "65535" button_color_2: "10597" @@ -1235,6 +1244,7 @@ variables: page_buttonpage02: "buttonpage02" page_buttonpage03: "buttonpage03" page_buttonpage04: "buttonpage04" + page_notification: "notification" ##### MUI Multilingual User Interface (DE/EN) ##### @@ -2423,6 +2433,11 @@ action: - condition: template value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}' then: + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_printf }}" + data: + cmd: home.humidity_pic.pic={{ humidity_pic_on }} - delay: milliseconds: "{{ delay_value }}" - service: "{{ command_text_printf }}" @@ -3869,6 +3884,11 @@ action: - condition: template value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}' then: + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_printf }}" + data: + cmd: home.humidity_pic.pic={{ humidity_pic_on }} - delay: milliseconds: "{{ delay_value }}" - service: "{{ command_text_printf }}" @@ -5389,6 +5409,9 @@ action: component: "bpage04_label" message: "{{ button_page04_label }}" + ## PAGE NOTIFICATION ## + - conditions: '{{ trigger.event.data.new_state.state == page_notification }}' + sequence: ##### Open Climate Settings ##### - conditions: