ad flame icon in init boot

This commit is contained in:
Blackymas
2022-11-23 23:46:15 +01:00
parent 072bbe83fe
commit ffdca0fea9

View File

@@ -1926,6 +1926,21 @@ action:
component: home.loading component: home.loading
message: " " 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 ##### #### TFT Upload Automation #####
- conditions: - conditions: