Question about numeric_state trigger

Hi,

I’m monitoring a pool pump with the energy (W) value.
But I’m not sure why this trigger is not working:

alias: Notify Pool Pumpe läuft vermutlich trocken oder manuell aus
description: ''
trigger:
  - platform: numeric_state
    entity_id: sensor.blitzwolf_2_energy_power
    for:
      hours: 0
      minutes: 0
      seconds: 10
      milliseconds: 0
    below: '380'

And this does work.

alias: Notify Pool Pumpe läuft vermutlich trocken oder manuell aus
description: ''
trigger:
  - platform: numeric_state
    entity_id: sensor.blitzwolf_2_energy_power
    for:
      hours: 0
      minutes: 0
      seconds: 10
      milliseconds: 0
    below: '380'
    above: '-1'  

I have many automations with only the “below” value running correct for years. I hope I dont need to test them all.
So what is the issue with the first trigger?? I’m confused :upside_down_face:

Thanks for helping

There is nothing wrong with only having below: in a numeric state trigger.

Maybe the issue is with your understanding of how this trigger works.

The automation will only trigger when the state changes from above 380 to below 380.

390 to 370 (for 10 sec) → triggered

370 to 360 → not triggered

360 to 370 → not triggered

370 to 390 → not triggered

1 Like

hi @tom_l ,

Thanks for reply. That was the mistake of thinking… :grimacing:

Its working fine now.

Have a nice day