Litter Robot Automation Waste Drawer Sensor Not Triggering Automations

I created a handful of automations to change the color of a hallway light based on the Litter Robot’s Waste drawer percentage. The automations only fire manually.

The main automation uses both the sensor and device attribute triggers and neither work. It only runs when I trigger it manually.

The “Waste Drawer Reset” does trigger the automation when I reset the level from the app, though.

The data is there, but I don’t see it in the log and it’s not triggering the automations. What am I missing?
Screenshot 2024-05-07 at 11.24.01 AM

alias: Laundry Room - Waste Drawer 80%
description: ""
trigger:
  - type: value
    platform: device
    device_id: d3beb79decbacec0000f12bf67bebf43
    entity_id: cff03305de26fb9018dbb132139cef3b
    domain: sensor
    above: 79
    enabled: true
  - platform: numeric_state
    entity_id:
      - sensor.litter_robot_3_1_waste_drawer
    above: 79.9
    enabled: true
    attribute: state
condition: []
action:
  - service: light.turn_on
    target:
      device_id: 66c6d9cb3b95a596f6cf9d1ab0ec1e97
    data:
      rgb_color:
        - 255
        - 0
        - 0
      brightness_pct: 100
mode: single

Thanks!

Get rid of the attribute: state line; if you made this via the UI, leave the attribute field blank.

You are triggering off the entity state, not one of its attributes.

If your first trigger is a device version of the second, remove it. If it is a separate thing, try to replace it with an entity state trigger for readability.

Note that numeric state triggers will only trigger when consecutive readings cross the threshold in the correct direction. So for above: 79, it will trigger when the state changes from below or equal to 79, to above.

Note that numeric state triggers will only trigger when consecutive readings cross the threshold in the correct direction.

Thanks! Ahh, OK. that makes sense, then. It has to actually change. Still, not intuitive until you know that.

I found the Threshold sensor and configured them, but once again, it feels very kludgey.