Send notification only once when sensor value drops over a threshold

I want to send a notification to my mobile when the temperature sensor of the print bed of my 3D printer drops below 35 °C to remind me that I can remove the print from the print bed.
I built a workflow in Node-RED that uses the “state changed” node accordingly but (of course) I get maaaany notifications on my mobile because even when the temperature changes from 35 to 34 and to 33 and so forth the node triggers.

How can I build a workflow that only triggers once, on the change from >35 to <=35 °C?

Check if the previous state is above the threshold. Try the trigger state node

image

Okay, thanks guys, will try that! :hugs: