Using a conditional action, I would like the action to proceed at 8:00 PM but only if 8PM is at least 30 minutes after sunset. Is this possible?
Here is one way to do it. Explanation below.
The rule starts at 8:00 PM every day. First thing it does is to put sunset time into a DateTime variable (sunset), and then put the number of minutes of difference between sunset and 8:00 PM into another variable (minutes).
Then the crux test happens, and if it is not more than 30 minutes after sunset (now, which is 8:00 PM since the rule just triggered at 8:00 PM), exit the rule.
(I just noticed the typo on "set minutes to minutes of difference", it should be "Set minutes to ...", and fixed it in the dev copy of Rule 5.1)
Perhaps it would be clearer if I changed the test to just < 30 minutes, instead of NOT > 30 minutes, like this:
Same outcome. Take your pick for which makes more sense to you.
Awesome I'll give this a shot. Thanks for the help!