I want to make a sprinkler automation that only activate the sprinklers in the night only if it didn’t rain more than 10 minutes during the day.
I have an idea of how to do the contdition that if in the moment ( 1 hour after sun set) is raining do not turn off. but how i can only turn on the sprinker if during the day didn´t rain more than “x” minutes?