added onboot scripts
This commit is contained in:
@@ -10,6 +10,16 @@ packages:
|
|||||||
base: !include base.yaml
|
base: !include base.yaml
|
||||||
scripts: !include 2bar_1display_scripts.yaml
|
scripts: !include 2bar_1display_scripts.yaml
|
||||||
|
|
||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
priority: -100
|
||||||
|
then:
|
||||||
|
- script.execute: setup_bar_displays
|
||||||
|
- script.execute: update_bar1_left
|
||||||
|
- script.execute: update_bar1_right
|
||||||
|
- script.execute: update_bar2_left
|
||||||
|
- script.execute: update_bar2_right
|
||||||
|
|
||||||
mcp23008:
|
mcp23008:
|
||||||
- id: 'base_J1'
|
- id: 'base_J1'
|
||||||
i2c_id: buttons
|
i2c_id: buttons
|
||||||
|
|||||||
@@ -10,6 +10,18 @@ packages:
|
|||||||
base: !include base.yaml
|
base: !include base.yaml
|
||||||
scripts: !include 3bar_1display_scripts.yaml
|
scripts: !include 3bar_1display_scripts.yaml
|
||||||
|
|
||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
priority: -100
|
||||||
|
then:
|
||||||
|
- script.execute: setup_bar_displays
|
||||||
|
- script.execute: update_bar1_left
|
||||||
|
- script.execute: update_bar1_right
|
||||||
|
- script.execute: update_bar2_left
|
||||||
|
- script.execute: update_bar2_right
|
||||||
|
- script.execute: update_bar3_left
|
||||||
|
- script.execute: update_bar3_right
|
||||||
|
|
||||||
mcp23008:
|
mcp23008:
|
||||||
- id: 'base_J0'
|
- id: 'base_J0'
|
||||||
i2c_id: buttons
|
i2c_id: buttons
|
||||||
|
|||||||
Reference in New Issue
Block a user