
Do not send email for scheduled tasks if "illogical"
My charging during the night has become unreliable (no idea why, it just stops for some reason, maybe voltage, except it does not resume)
So I have added "Start charging" tasks at various times during the night. If the car has reached the charge limit this, of course, does nothing. But I get a "Failed" email.
Same with my "Stop charging" task (at the end of my overnight cheap rate). Car will usually have finished charging (or stopped by itself), this is just belt & braces in case car attempts to continue charging into Peak rate.
So:
Do not send Email for "Stop charging" if the car is not actually charging
Do not send email for "Start charging" if the car is already charged to the limit
There are probably some other "not logical" scenarios.
In case this is actually a needed requirement then perhaps add "Send Email if not charging" type task. e.g. create a "Start charging" task for a given time (with no email), and a "Send email if not charging" 5 minutes later (with email)
Customer support service by UserEcho