Presence detection for porch light

I want to turn on the porch light if anyone in a list is away and it’s after sunset and before sunrise. I got all that working using asuswrt entities but I had to hardcode each Asus entity in the automation but I want to use a list so when we’re on vacation it works for the house sitter or just one of us when the other is away.