Added startup animation. Kinda okay'ish in sync with Vindriktning animation.
This commit is contained in:
parent
0a15361088
commit
716d875c4a
@ -3,15 +3,43 @@ esphome:
|
||||
platform: ESP32
|
||||
board: nodemcu-32s
|
||||
|
||||
# Startup animation
|
||||
#on_boot:
|
||||
# then:
|
||||
|
||||
#script:
|
||||
# - id: startup_animation
|
||||
# then:
|
||||
# - delay: 5s
|
||||
# -
|
||||
on_boot:
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: co2_light
|
||||
red: 0%
|
||||
green: 100%
|
||||
blue: 9%
|
||||
- delay: 1.5s
|
||||
- light.turn_on:
|
||||
id: co2_light
|
||||
red: 100%
|
||||
green: 75%
|
||||
blue: 0%
|
||||
- delay: 1.5s
|
||||
- light.turn_on:
|
||||
id: co2_light
|
||||
red: 100%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
- delay: 1.5s
|
||||
- light.turn_on:
|
||||
id: co2_light
|
||||
red: 100%
|
||||
green: 75%
|
||||
blue: 0%
|
||||
- delay: 1.5s
|
||||
- light.turn_on:
|
||||
id: co2_light
|
||||
red: 0%
|
||||
green: 100%
|
||||
blue: 9%
|
||||
- text_sensor.template.publish:
|
||||
id: co2_warn
|
||||
state: "grün"
|
||||
- text_sensor.template.publish:
|
||||
id: pm25_warn
|
||||
state: "grün"
|
||||
|
||||
wifi:
|
||||
ssid: "Voltage-legacy"
|
||||
|
Loading…
Reference in New Issue
Block a user