ledstrip_simple now has to have an entity_prefix set for reasons
This commit is contained in:
parent
8b11af147f
commit
1d0c3fd07b
@ -1,5 +1,10 @@
|
||||
substitutions:
|
||||
device_name: ledstrip_mic-holder #ledstrip_mic-holder, ledstrip_stairs, teststrip2
|
||||
entity_prefix: nbs_mic # nbs_mic, stairs, test2_
|
||||
led_count: "32" # 32, 56, 191
|
||||
|
||||
esphome:
|
||||
name: teststrip2 # teststrip2, ledstrip_stairs
|
||||
name: ${device_name} # teststrip2, ledstrip_stairs, mic-holder
|
||||
platform: ESP8266
|
||||
board: nodemcuv2
|
||||
|
||||
@ -30,8 +35,8 @@ light:
|
||||
type: GRB
|
||||
variant: WS2811
|
||||
pin: D5
|
||||
num_leds: 56 # 56, 191
|
||||
name: ledstrip
|
||||
num_leds: ${led_count} # 56, 191
|
||||
name: ${entity_prefix}_ledstrip
|
||||
effects:
|
||||
- addressable_rainbow:
|
||||
- addressable_rainbow:
|
||||
|
Loading…
Reference in New Issue
Block a user