Added startup animation. Kinda okay'ish in sync with Vindriktning animation.

This commit is contained in:
Marcus Scholz 2021-09-04 13:51:37 +02:00
parent 0a15361088
commit 716d875c4a
1 changed files with 37 additions and 9 deletions

View File

@ -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"