System Monitor cpu temperature change doesn't trigger my automation

Hello everyone, I started with HA yesterday and I was able to have some cards with System Monitor data. I was trying to create a basic automation, if cpu temperature changes to something above 20 degrees, send a notification but it never triggers it despite the temperature changing. Can someone help me? I’m using HA as a docker container:

  • Core 2024.5.1
  • Frontend 20240501.0
- id: '1715039911353'
  alias: New automation
  description: ''
  trigger:
  - platform: numeric_state
    entity_id:
    - sensor.system_monitor_processor_temperature
    above: 19.6
  condition: []
  action:
  - service: notify.persistent_notification
    metadata: {}
    data:
      message: test
  mode: single

Does the temperature ever go below 19.6, for it to then increase and go above 19.6 and trigger? The trigger only fires when the threshold is crossed.

1 Like

You are totally right, I thought it would trigger on every temp change if it’s above 19.6. In fact, is like you said, for this to trigger, it needs to be below 19.6, when it goes above that, it triggers the automation. Now it’s working as expected, thank you