As @sidjohn1 mentions, Smart Lighting will do it. I’m doing the same thing based on motion, but any trigger can be used (for the most part). Here’s my set up for my front porch lights:
Thanks for the help. However, the turn off option is not available when “Arrival/Departure” is selected under the “How do you want to trigger the action” section. Any other options?