Automation not working with co2 sensor

what am i missing:

alias: co2 rot
description: ""
trigger:
  - platform: numeric_state
    entity_id: sensor.co2_wohnzimmer
    above: "2000"
condition: []
action:
  - service: light.turn_on
    data:
      rgb_color:
        - 255
        - 0
        - 0
      brightness_pct: 50
    target:
      entity_id:
        - light.kugel
        - light.apfel
mode: single

manuel startin the automation is working, but not when the sensor data gets above 2000.

How are you testing it?

Triggering a Numeric State Trigger requires the entity’s value to cross the threshold value.

Go to Developer Tools → States and manually set the value of sensor.co2_wohnzimmer to 1900 and then to 2001. It should cause the automation’s Numeric State Trigger to trigger.