feat: aktuellen status nach boot anzeigen

This commit is contained in:
neri 2024-05-28 23:04:28 +02:00
parent 56b48a33eb
commit 4b52e365e4
1 changed files with 8 additions and 2 deletions

View File

@ -18,10 +18,16 @@ esphome:
on_boot: on_boot:
- priority: 600 - priority: 600
then: then:
- light.addressable_set: { id: status_led, red: 0%, green: 0%, blue: 50% } - light.addressable_set: { id: status_led, red: 0%, green: 0%, blue: 100% }
- priority: -100 - priority: -100
then: then:
- light.addressable_set: { id: status_led, red: 0%, green: 0%, blue: 100% } - if:
condition:
switch.is_on: mlock_${name_of_board}_switch
then:
- light.addressable_set: { id: status_led, red: 0%, green: 100%, blue: 0% }
else:
- light.addressable_set: { id: status_led, red: 100%, green: 0%, blue: 0% }
# Enable logging # Enable logging
logger: logger: