diff --git a/intern/docker_esphome/templates/config/esphome_popcorn.yaml b/intern/docker_esphome/templates/config/esphome_popcorn.yaml index f8780efa46258346777f12905b53b4eb0728196b..94f26f43de068b86fa144cdc57c9df4c68d6fed3 100644 --- a/intern/docker_esphome/templates/config/esphome_popcorn.yaml +++ b/intern/docker_esphome/templates/config/esphome_popcorn.yaml @@ -1,6 +1,9 @@ {% set devicename = "esphome_popcorn" %} -on_boot: +{% include "/includes/ansible.inc.yaml" %} +{% include "/includes/board.esp32-doit-devkit-v1.inc.yaml" %} + + on_boot: - priority: 600 then: - display.page.show: page1 @@ -82,31 +85,6 @@ on_boot: green: 0% blue: 0% - display.page.show: page3 - -{% include "/includes/ansible.inc.yaml" %} -{% include "/includes/board.esp32-doit-devkit-v1.inc.yaml" %} - - on_boot: - - priority: 600 - then: - - light.turn_on: - id: status_led - effect: BootUp - - display.page.show: page1 - - priority: 250 - then: - - light.addressable_set: - id: status_led - range_from: 0 - range_to: 2 - red: 0% - green: 100% - blue: 0% - - priority: -100 - then: - - light.turn_off: - id: status_led - - display.page.show: page3 {% include "/includes/common.inc.yaml" %}