ledstrip_simple now has to have an entity_prefix set for reasons

This commit is contained in:
Nicolas Bachschwell 2024-06-10 12:23:12 +02:00
parent 8b11af147f
commit 1d0c3fd07b
Signed by: NBSgamesAT
GPG Key ID: 2D73288FF7AEED2F

View File

@ -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: esphome:
name: teststrip2 # teststrip2, ledstrip_stairs name: ${device_name} # teststrip2, ledstrip_stairs, mic-holder
platform: ESP8266 platform: ESP8266
board: nodemcuv2 board: nodemcuv2
@ -30,8 +35,8 @@ light:
type: GRB type: GRB
variant: WS2811 variant: WS2811
pin: D5 pin: D5
num_leds: 56 # 56, 191 num_leds: ${led_count} # 56, 191
name: ledstrip name: ${entity_prefix}_ledstrip
effects: effects:
- addressable_rainbow: - addressable_rainbow:
- addressable_rainbow: - addressable_rainbow: