no init
This commit is contained in:
parent
3ba74732f6
commit
ca3ea3811f
|
@ -16,18 +16,18 @@ esphome:
|
||||||
platform: ESP8266
|
platform: ESP8266
|
||||||
board: d1_mini
|
board: d1_mini
|
||||||
on_boot:
|
on_boot:
|
||||||
- priority: -100
|
# - priority: -100
|
||||||
then:
|
# then:
|
||||||
- if: # return LED to switch state before
|
# - if: # return LED to switch state before
|
||||||
condition:
|
# condition:
|
||||||
switch.is_on: mlock_${name_of_board}_switch
|
# switch.is_on: mlock_${name_of_board}_switch
|
||||||
then:
|
# then:
|
||||||
- light.addressable_set: { id: status_led, red: 0%, green: 100%, blue: 0% }
|
# - light.addressable_set: { id: status_led, red: 0%, green: 100%, blue: 0% }
|
||||||
else:
|
# else:
|
||||||
- light.addressable_set: { id: status_led, red: 100%, green: 0%, blue: 0% }
|
# - light.addressable_set: { id: status_led, red: 100%, green: 0%, blue: 0% }
|
||||||
- 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: 50% }
|
||||||
|
|
||||||
# Enable logging
|
# Enable logging
|
||||||
logger:
|
logger:
|
||||||
|
|
Loading…
Reference in New Issue