feat: aktuellen status nach boot anzeigen
This commit is contained in:
parent
56b48a33eb
commit
4b52e365e4
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue