From ffdca0fea9f790f37cd8d7848d0ffc77e1dcdc8e Mon Sep 17 00:00:00 2001 From: Blackymas Date: Wed, 23 Nov 2022 23:46:15 +0100 Subject: [PATCH] ad flame icon in init boot --- nspnael_blueprint.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nspnael_blueprint.yaml b/nspnael_blueprint.yaml index e6267e9..1162529 100644 --- a/nspnael_blueprint.yaml +++ b/nspnael_blueprint.yaml @@ -1926,6 +1926,21 @@ action: component: home.loading message: " " + ###### StatusBar - Icon 04 ###### + - if: + - condition: template + value_template: '{{ heatingsystemflame |length > 0 }}' + then: + - variables: + flame_pic: >- + {%- if states(heatingsystemflame) == "on" -%} {{ flame_pic_on }} + {%- else -%} {{ top_menu_blank }} + {%- endif -%} + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_printf }}" + data: + cmd: home.icon_top_04.pic={{ flame_pic }} #### TFT Upload Automation ##### - conditions: