made some basic scripts for every setup
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
##############################################
|
||||
## ##
|
||||
## filename: 1bar_1display_scripts.yaml ##
|
||||
## description: Specific pre-defined ##
|
||||
## scripts for 2 BAR 1 Display setup ##
|
||||
## ##
|
||||
##############################################
|
||||
|
||||
script:
|
||||
- id: update_main
|
||||
then:
|
||||
- component.update: main_display
|
||||
- id: update_all
|
||||
then:
|
||||
- component.update: main_display
|
||||
- component.update: bar1_display_left
|
||||
- component.update: bar1_display_right
|
||||
- component.update: bar2_display_left
|
||||
- component.update: bar2_display_right
|
||||
- id: next_page_main
|
||||
then:
|
||||
- display.page.show_next: main_display
|
||||
- script.execute: update_main
|
||||
- id: next_page_all
|
||||
then:
|
||||
- display.page.show_next: main_display
|
||||
- display.page.show_next: bar1_display_left
|
||||
- display.page.show_next: bar1_display_right
|
||||
- display.page.show_next: bar2_display_left
|
||||
- display.page.show_next: bar2_display_right
|
||||
- script.execute: update_all
|
||||
- id: prev_page_main
|
||||
then:
|
||||
- display.page.show_previous: main_display
|
||||
- script.execute: update_main
|
||||
- id: prev_page_all
|
||||
then:
|
||||
- display.page.show_previous: main_display
|
||||
- display.page.show_previous: bar1_display_left
|
||||
- display.page.show_previous: bar1_display_right
|
||||
- display.page.show_previous: bar2_display_left
|
||||
- display.page.show_previous: bar2_display_right
|
||||
- script.execute: update_all
|
||||
Reference in New Issue
Block a user