Additional/missing automation options

I’m hoping I missed this and someone here can point me in the right direction. If not I hope to see these in the future. I have set up a routine to turn on lights when a door opens. I would like to only have this routine work at night (between sunset and sunrise), and to only activate for a set amount of time (shut off after 10 minutes). Any ideas how to set up these additional rules?
I see that you can set times, but they just turn the lights on after sunset, not operate the rule after sunset.

Just to update, I did find a “SmartApp” to add to my hub that accomplished the exact thing that I wanted. Once you log in the hub look for the smart app called “5 minute delay”. It does exactly want I wanted and once I added a sunset to sunrise mode it now works only at night. It is a perfect solution for my situation.