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
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!");
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
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!");
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 ###
##############################
+16 -4
View File
@@ -97,19 +97,31 @@ script:
- 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!");
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
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!");
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
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!");
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
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!");
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 ###
##############################
+12 -22
View File
@@ -100,9 +100,9 @@ script:
id(bar_display).update();
delay(1);
id(cs_pin_bar3_right).turn_off();
##################################
### setup mini display scripts ###
##################################
####################################
### setup mini display's scripts ###
####################################
- id: setup_bar_displays
then:
- lambda: |-
@@ -130,36 +130,23 @@ script:
id(bar_display).setup();
delay(5);
id(cs_pin_bar3_right).turn_off();
####################
### draw scripts ###
####################
###############################
### pre-define draw scripts ###
###############################
- 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
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
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
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
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
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!");
##############################
### other handling scripts ###
##############################
######################
### update scripts ###
######################
- id: update_main
then:
- component.update: main_display
@@ -172,6 +159,9 @@ script:
- script.execute: update_bar2_right
- script.execute: update_bar3_left
- script.execute: update_bar3_right
######################
### paging scripts ###
######################
- id: next_page_main
then:
- display.page.show_next: main_display