Turn on light an hour after sunset

You might be interested in this approach - switching an Item state by astro or time based events