Sadly, the triggers never fire and i have no clue why. The correspondending sensors are -of of course - on the wanted state for more than 5 seconds, but it just does not fire. Any idea why?
The second Template Trigger will trigger when sensor's value increases above the threshold value of 50 and remains above it for at least 5 seconds. Triggering only occurs when the threshold is crossed.
In other words, the Template Trigger's state must change fromfalsetotrue to cause triggering. So if the sensor's current value is already higher than 50, the Template Trigger's state is already true and it won't trigger.
Template triggers work by evaluating a template when any of the recognized entities change state. The trigger will fire if the state change caused the template to render ‘true’ (a non-zero number or any of the strings true, yes, on, enable) when it was previously ‘false’ (anything else).