If it is a photo sensing security light you are using, you might check the electrical tape or whatever it is you put over the photocell eye. If that eye sees light it thinks dawn is here and turns the light off.