It’s time to ditch the nightlight and invest in some blackout curtains.