Turning on lamps at sunset only when alarm is in away mode.
I want to create a program that will turn on lamps in the house at sunset if I'm not here. I don't want them to turn on every time the alarm is put in away mode because its a waste of electricity. I notice that this can be done with a light control, but not a smart plug. I can get close by creating a program that will turn the lights on if the alarm is set to away mode during certain hours, but I can also just turn them on myself. What I need is the system to turn the lamps on at sunset (or at least a specific time) if I'm not here.
Thanks for any help!