Turn on or off a light at sunrise