So with your help I managed to create an automation to send me notifications if humidity gets higher than 58%.
Problem is, I’m getting a notification if RH gets to 58.1%, then another at 58.3%, then 58.5%, and so on and so on.
I just want to receive a notification when that happens the first time (RH hitting >= 58%). Basically it’s like saying I want only release a notification, if atual RH >= 58%, and previous RH < 58%.
That’s very interesting because, like Mutt said, the Numeric State Trigger doesn’t work like that. It is designed to trigger only when the temperature crosses the threshold of 58 and does not continue triggering as the temperature continues to rise above 58. However, you are saying that it does continue to trigger … which is not the way it’s supposed to work.
In order to re-trigger, it would have to first decrease below 58 then rise above it (or restart Home Assistant or execute Reload Automation). For example, this pattern produces three triggers: