Trigger temperature of SONOFF SNZB-02 in an automation

I’m trying to figure out how to trigger the SONOFF SNZB-02 temperature sensor in an automation. I don’t know why but nothing is triggered using this configuration :

Here is the yaml :

platform: numeric_state
entity_id: sensor.sonoff_a480030b65_temperature
attribute: unit_of_measurement
above: '24'
  hours: 0
  minutes: 0
  seconds: 1

Any hints ?

Remove this bit

  1. Kill the attribute line
  2. What do you see when you look for the entity inside the Developer Tools?

Here is what I’ve got (sorry it’s in french) :

state_class: measurement
unit_of_measurement: °C
device_class: temperature
friendly_name: Température - Chill

I’m having the same problem, did you ever find the solution?