Light component question

In the addressable light examples, the addressable effect is always given on two lines. Why?

light:
  - platform: ...
    # ...
    effects:
      - addressable_random_twinkle:
      - addressable_random_twinkle:
          name: Random Twinkle Effect With Custom Values
          twinkle_probability: 5%
          progress_interval: 32ms

No idea why, but I removed the duplicate and never had a problem.

I think the first uses the default parameters and the second is another effect with specific parameters,

At least that’s what I always assumed.

1 Like

This :point_up_2: , that’s why the example states :point_down:

          name: Random Twinkle Effect With Custom Values

for the second (custom) effect :rainbow:

1 Like