Why we can´t set notifications like this:
if error send notification and only send a notification after state is gone to ok.
Now we have to setup a notification for warning AND error - so we have two notifications. Also we have notifications if the state is no longer in warning or error.
So we got two notifications if a sensor goes from warning to error or from error to warning.
"sensor state warning ended (now error)" "sensor state error (before: warning)"
the warning ended ist not needed if it goes to error. We only need a notification if it goes back to OK.