I have an automation configured to trigger when a sensor entity goes above an input number helper. Sometimes it does work, sometimes it does nothing, even though the trigger conditions have been met.
Instead of numeric state trigger, you might trigger anytime the value changes, and then condition if it is above the max value.
I think that trigger should work in theory, but maybe rounding issues is making it not retrigger the second time. Since numeric_state only triggers when the trigger goes from not_above the value to above the value. If you’re setting them exactly equal maybe it gets rounded in such a way that it doesn’t see the trigger as going from true → false → true.
No, it’s to do with a quirk of how Numeric state triggers work. If the state value of the entity used to define the threshold changes and the value of the trigger entity is already past that value it won’t trigger immediately… it takes another state change to a value above the threshold to fire again. In cases where the sensor’s value can have quick spikes, this can cause the peak to be missed.
As @karwosts stated, you would be better served with a State trigger.