Help with device switch on on value

Hi All,
Using the lkea sensor to measure a room PM2.5 value and want to turn on an air filter when it hits a value. So far I have:
alias: Study air filter
description: “”
triggers:

  • trigger: numeric_state
    entity_id: sensor.air_sensor_pm2_5
    above: 10
    below: 200
    conditions:
    actions:
  • type: turn_on
    device_id: b3701af19afb6ac3258d61cd59d58d32
    entity_id: 641f7e0b99b5ca2375da67d6bff2272a
    domain: switch
    mode: single

No matter what value I put in I cant seem to get it to trigger?

Always mark up your code as code, otherwise it just becomes a mess with broken indentation.

I suspect you, like so so many others, do not understand how state triggers work. State triggers only fires when the state changes. If the sensor is already reporting a value between 10 and 200 at the time the automation is (re)loaded, the trigger will never fire until the value goes outside the prescribed range and then comes back into it.