Light Effect Custom Automation

I’ve got this to turn on but only runs the sequence once kinda… It ignores the color command and flickers once.

sequence (Optional, Action): The actions to perform in sequence until the effect is stopped.


light:
  - platform: neopixelbus
    type: GRB
    variant: WS2811
    pin: GPIO3          #RX pin 
    num_leds: 8
    internal: true
    id: neo_id





  - platform: partition
    name: "EntWallAuto"     # 0
    segments:
      - id: neo_id
        from: 1
        to: 3
    effects:
      - automation:
          name: Custom Automation Effect
          sequence:
            - light.addressable_set:
                id: neo_id
                red: 100%
                green: 100%
                blue: 100%
            - delay: 100ms
            - light.addressable_set:
                id: neo_id
                range_from: 0
                range_to: 20
                red: 100%
                green: 0%
                blue: 0%


Does anyone know the answer to this?

Just ended up using this. This does what I want. Red Blue Strobe.


  - platform: partition
    name: "EntWallAuto"     # 0
    segments:
      - id: neo_id
        from: 1
        to: 3
    effects:
      - strobe:
          name: strobe
          colors:
            - state: True
              red: 100%       # you can state a color but optional
              green: 0%
              blue: 0%
              duration: 500ms #1000ms
            - state: True
              red: 0%       # you can state a color but optional
              green: 0%
              blue: 100%
              duration: 500ms #1000ms