This commit is contained in:
@@ -6,9 +6,17 @@
|
|||||||
## ##
|
## ##
|
||||||
##############################################
|
##############################################
|
||||||
|
|
||||||
# globals:
|
image:
|
||||||
# - id: cs_pin
|
- file: mdi:lightbulb
|
||||||
# type: GPIOPin*
|
id: lightbulb_script
|
||||||
|
resize: 80x80
|
||||||
|
- file: mdi:alert
|
||||||
|
id: alert_script
|
||||||
|
resize: 80x80
|
||||||
|
|
||||||
|
color:
|
||||||
|
- id: orange_script
|
||||||
|
hex: FF7F00
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- id: update_display_1
|
- id: update_display_1
|
||||||
@@ -38,11 +46,11 @@ script:
|
|||||||
- id: bar1_left_page1
|
- id: bar1_left_page1
|
||||||
then:
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
id(bar_display).image(80, 0, id(icon_temp_inside), ImageAlign::TOP_CENTER, id(orange));
|
id(bar_display).image(80, 0, id(lightbulb_script), ImageAlign::TOP_CENTER, id(orange_script));
|
||||||
- id: bar1_right_page1
|
- id: bar1_right_page1
|
||||||
then:
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
id(bar_display).image(80, 0, id(icon_temp_outside), ImageAlign::TOP_CENTER, id(orange));
|
id(bar_display).image(80, 0, id(alert_script), ImageAlign::TOP_CENTER, id(orange_script));
|
||||||
- id: update_main
|
- id: update_main
|
||||||
then:
|
then:
|
||||||
- component.update: main_display
|
- component.update: main_display
|
||||||
|
|||||||
Reference in New Issue
Block a user