Neopixelbus led strip shut off dedicate LEDs - Is that possible?

I have built a CO2 Sensor with a Acryl glass display to show up the State (geen, yellow, red). Therefore I have put an LED Strip at the bottom of the Acryl glass plate. Since this is wery bright, I would like to disable 5 LEDs of the 10 LED strip. This is my “Pixelbus” light configuration and I cannot find any information how to disbale single LEDs of the strip.

light:
  - platform: neopixelbus
    type: GRB
    variant: WS2812X
    pin: GPIO3
    num_leds: 10
      
    name: "NeoPixel Light"
    id: co2_status_led
  - platform: partition
    name: "CO2 Status LED"
    id: section1
    segments:
      - id: co2_status_led
        from: 0
        to: 9

Is there someone who has an idear how to get this configured? (Sorry for my bad english)

Thanks a lot!
Thorsten

Are you also aware that you can set the brightness of the LEDs?

:point_down:

light.addressable_set Action

This Action allows you to manually set a range of LEDs on an addressable light to a specific color.