Automation to turn off lamp based on Aqara light meter

I’m trying to figure out why this automation isn’t getting triggered. I just want to turn off a light if the light level is above the minimum value. The lowest value it ever shows is 1.0, and the highest value is 1500.0. In the overview, the illuminance is showing “62.0 lx” right now. The automation doesn’t get triggered and traces show “No traces found”.

One question I have is: When you have a trigger based on a numeric state, how often does HA check if it should trigger an automation?

alias: Turn LR light off when illuminance above 1
description: ""
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.aqara_motion_and_light_sensor_p2_illuminance
    above: 1
conditions:
  - condition: device
    type: is_on
    device_id: 975ff7eefa829cdf55c6f703909f8a00
    entity_id: 31f15bbdcddd4a4f47836c650f87a6b2
    domain: light
    enabled: false
actions:
  - action: light.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: light.lr_talllamp
mode: single

There’s not a timer on this, it triggers when the trigger is fired. If the sensor is already above 1 when Home Assistant starts (or when you enable the automation), it will not trigger until it first drops to below 1 and then rises above 1 again.

Is a string value. I hope you are not performing arithmetical/numeric value comparisons on it.

Put those together ant it will basically never trigger, as @fleskefjes said. Read this: Automations #1: trigger only fires when it changes from not true to true