Two different PINS to control two LED strips

Hello,

is it possible to control two different LED strips (WS2812B) using two different PINS on ESP8266 NodeMCU v3?

I tried by using two times the same command, but changing only “pin” to the different one, but i have error during compiling: Duplicate key “light”

light:

  • platform: fastled_clockless
    chipset: WS2812
    pin: D5
    num_leds: 60
    rgb_order: BRG
    name: “LED WC”

light:

  • platform: fastled_clockless
    chipset: WS2812
    pin: D6
    num_leds: 60
    rgb_order: BRG
    name: “LED WC1”

You only need light: once. If you have further problems please read the pinned post at the top of the forum. How to ask a good question and format your code.

Did you try:

light:

  - platform: fastled_clockless
    chipset: WS2812
    pin: D5
    num_leds: 60
    rgb_order: BRG
    name: “LED WC”

  - platform: fastled_clockless
    chipset: WS2812
    pin: D6
    num_leds: 60
    rgb_order: BRG
    name: “LED WC1”

Thanks for the support, it helps!