Activate a scene when I arrive home, but only after sunset and before sunrise?

I would like to setup a routine to activate a scene that turns on my indoor lights, but only if it is between sunset and sunrise. I haven’t found a way to do this yet. Any ideas? Thanks.

The stock Smart Lighting smart app will do that easily.

I completely missed that. You are right. I was looking at routines in the classic app instead of automations (or SmartApps in classic).