I made really easy to customize sets of nightlight sensors to go off only on sunset and sunrise. The third one is modified version of the second to allow different times for sunset and sunrise rather than being the same
My 3 generations of sunset + sunrise redstone lamps