Need a bit of help with a simple rule that turns on the outside lights if the time is sunset or its dark out, then sets the mode to evening if its sunset, waits X mins and turns the lights off. I'm trying to use a turn off time as X mins after sunset to add some randomization to when the light turns off.
Rule works to turn on lights but lights are not turning off properly, I'm guessing my IF statement is screwing something up. I do see a scheduled job in the rule but its not turning the lights off.
If there's a better or easier way to do this I'd appreciate the guidance. I don't see a way to do what I want in the mode/motion lighting app.