Turn on or off your device when the sun sets