diff --git a/package/1bar_1display_scripts.yaml b/package/1bar_1display_scripts.yaml index 221f208..51e3ac8 100644 --- a/package/1bar_1display_scripts.yaml +++ b/package/1bar_1display_scripts.yaml @@ -61,8 +61,5 @@ script: - id: update_all then: - component.update: main_display - - delay: 0.1s - script.execute: update_bar1_left - - delay: 0.1s - script.execute: update_bar1_right - - delay: 0.1s diff --git a/package/2bar_1display_scripts.yaml b/package/2bar_1display_scripts.yaml index 98b8145..b7dcb63 100644 --- a/package/2bar_1display_scripts.yaml +++ b/package/2bar_1display_scripts.yaml @@ -103,12 +103,7 @@ script: - id: update_all then: - component.update: main_display - - delay: 0.1s - script.execute: update_bar1_left - - delay: 0.1s - script.execute: update_bar1_right - - delay: 0.1s - script.execute: update_bar2_left - - delay: 0.1s - script.execute: update_bar2_right - - delay: 0.1s diff --git a/package/3bar_1display_scripts.yaml b/package/3bar_1display_scripts.yaml index 3f7d68d..3aac20d 100644 --- a/package/3bar_1display_scripts.yaml +++ b/package/3bar_1display_scripts.yaml @@ -154,15 +154,9 @@ script: - id: update_all then: - component.update: main_display - - delay: 0.1s - script.execute: update_bar1_left - - delay: 0.1s - script.execute: update_bar1_right - - delay: 0.1s - script.execute: update_bar2_left - - delay: 0.1s - script.execute: update_bar2_right - - delay: 0.1s - script.execute: update_bar3_left - - delay: 0.1s - script.execute: update_bar3_right diff --git a/package/base.yaml b/package/base.yaml index f169eb4..b04f13c 100644 --- a/package/base.yaml +++ b/package/base.yaml @@ -13,7 +13,7 @@ esp32: interval: - interval: 1min then: - - logger.log: "ESPHome for Button+ v0.1.1" + - logger.log: "ESPHome for Button+ v0.1.2_dev" i2c: - id: temperature_sensor @@ -34,7 +34,7 @@ globals: initial_value: '0' - id: page_names type: std::vector - initial_value: '{"Page 1"}' + initial_value: '{"Page 1","Music","Page 3"}' - id: active_page_name type: std::string initial_value: "" @@ -114,7 +114,7 @@ number: id(actual_page) = id(menu_selector).state; } # Refresh the screen -# - script.execute: update_page <<< this ends in an loop... + - script.execute: update_all # @balk77 update_page results in a loop, moved update_all to here, now test script: ######################