removed log message

This commit is contained in:
Martijn
2024-11-30 18:00:41 +01:00
parent 2fd11dff55
commit bc8fd52728
3 changed files with 36 additions and 28 deletions
+8 -2
View File
@@ -51,11 +51,17 @@ script:
- id: bar1_left_draw - id: bar1_left_draw
then: then:
- lambda: |- - lambda: |-
ESP_LOGD("TODO", "You need to extend the bar1_left_draw script to draw something on the bar display \n script: \n - id: !extend bar1_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); if (id(show_todos)) {
ESP_LOGD("TODO", "You need to extend the bar1_left_draw script to draw something on the bar display \n script: \n - id: !extend bar1_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
id(show_todos) = false;
}
- id: bar1_right_draw - id: bar1_right_draw
then: then:
- lambda: |- - lambda: |-
ESP_LOGD("TODO", "You need to extend the bar1_right_draw script to draw something on the bar display \n script: \n - id: !extend bar1_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); if (id(show_todos)) {
ESP_LOGD("TODO", "You need to extend the bar1_right_draw script to draw something on the bar display \n script: \n - id: !extend bar1_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
id(show_todos) = false;
}
############################## ##############################
### other handling scripts ### ### other handling scripts ###
############################## ##############################
+16 -4
View File
@@ -97,19 +97,31 @@ script:
- id: bar1_left_draw - id: bar1_left_draw
then: then:
- lambda: |- - lambda: |-
ESP_LOGD("TODO", "You need to extend the bar1_left_draw script to draw something on the bar display \n script: \n - id: !extend bar1_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); if (id(show_todos)) {
ESP_LOGD("TODO", "You need to extend the bar1_left_draw script to draw something on the bar display \n script: \n - id: !extend bar1_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
id(show_todos) = false;
}
- id: bar1_right_draw - id: bar1_right_draw
then: then:
- lambda: |- - lambda: |-
ESP_LOGD("TODO", "You need to extend the bar1_right_draw script to draw something on the bar display \n script: \n - id: !extend bar1_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); if (id(show_todos)) {
ESP_LOGD("TODO", "You need to extend the bar1_right_draw script to draw something on the bar display \n script: \n - id: !extend bar1_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
id(show_todos) = false;
}
- id: bar2_left_draw - id: bar2_left_draw
then: then:
- lambda: |- - lambda: |-
ESP_LOGD("TODO", "You need to extend the bar2_left_draw script to draw something on the bar display \n script: \n - id: !extend bar2_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); if (id(show_todos)) {
ESP_LOGD("TODO", "You need to extend the bar2_left_draw script to draw something on the bar display \n script: \n - id: !extend bar2_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
id(show_todos) = false;
}
- id: bar2_right_draw - id: bar2_right_draw
then: then:
- lambda: |- - lambda: |-
ESP_LOGD("TODO", "You need to extend the bar2_right_draw script to draw something on the bar display \n script: \n - id: !extend bar2_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); if (id(show_todos)) {
ESP_LOGD("TODO", "You need to extend the bar2_right_draw script to draw something on the bar display \n script: \n - id: !extend bar2_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
id(show_todos) = false;
}
############################## ##############################
### other handling scripts ### ### other handling scripts ###
############################## ##############################
+12 -22
View File
@@ -100,9 +100,9 @@ script:
id(bar_display).update(); id(bar_display).update();
delay(1); delay(1);
id(cs_pin_bar3_right).turn_off(); id(cs_pin_bar3_right).turn_off();
################################## ####################################
### setup mini display scripts ### ### setup mini display's scripts ###
################################## ####################################
- id: setup_bar_displays - id: setup_bar_displays
then: then:
- lambda: |- - lambda: |-
@@ -130,36 +130,23 @@ script:
id(bar_display).setup(); id(bar_display).setup();
delay(5); delay(5);
id(cs_pin_bar3_right).turn_off(); id(cs_pin_bar3_right).turn_off();
#################### ###############################
### draw scripts ### ### pre-define draw scripts ###
#################### ###############################
- id: bar1_left_draw - id: bar1_left_draw
then:
- lambda: |-
ESP_LOGD("TODO", "You need to extend the bar1_left_draw script to draw something on the bar display \n script: \n - id: !extend bar1_left_draw\n then:\n - lambda: |-\n \/\/ your draw scripts here!");
- id: bar1_right_draw - id: bar1_right_draw
then: then:
- lambda: |-
ESP_LOGD("TODO", "You need to extend the bar1_right_draw script to draw something on the bar display \n script: \n - id: !extend bar1_right_draw\n then:\n - lambda: |-\n \/\/ your draw scripts here!");
- id: bar2_left_draw - id: bar2_left_draw
then: then:
- lambda: |-
ESP_LOGD("TODO", "You need to extend the bar2_left_draw script to draw something on the bar display \n script: \n - id: !extend bar2_left_draw\n then:\n - lambda: |-\n \/\/ your draw scripts here!");
- id: bar2_right_draw - id: bar2_right_draw
then: then:
- lambda: |-
ESP_LOGD("TODO", "You need to extend the bar2_right_draw script to draw something on the bar display \n script: \n - id: !extend bar2_right_draw\n then:\n - lambda: |-\n \/\/ your draw scripts here!");
- id: bar3_left_draw - id: bar3_left_draw
then: then:
- lambda: |-
ESP_LOGD("TODO", "You need to extend the bar3_left_draw script to draw something on the bar display \n script: \n - id: !extend bar3_left_draw\n then:\n - lambda: |-\n \/\/ your draw scripts here!");
- id: bar3_right_draw - id: bar3_right_draw
then: then:
- lambda: |- ######################
ESP_LOGD("TODO", "You need to extend the bar3_right_draw script to draw something on the bar display \n script: \n - id: !extend bar3_right_draw\n then:\n - lambda: |-\n \/\/ your draw scripts here!"); ### update scripts ###
############################## ######################
### other handling scripts ###
##############################
- id: update_main - id: update_main
then: then:
- component.update: main_display - component.update: main_display
@@ -172,6 +159,9 @@ script:
- script.execute: update_bar2_right - script.execute: update_bar2_right
- script.execute: update_bar3_left - script.execute: update_bar3_left
- script.execute: update_bar3_right - script.execute: update_bar3_right
######################
### paging scripts ###
######################
- id: next_page_main - id: next_page_main
then: then:
- display.page.show_next: main_display - display.page.show_next: main_display