diff --git a/ledstrip_simple.yaml b/ledstrip_simple.yaml index f44cc23..cd4a4c2 100644 --- a/ledstrip_simple.yaml +++ b/ledstrip_simple.yaml @@ -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: