Turn off the circuit breaker assigned to the lamp.
Remove the lamp from the electrical box. Turn the lamp base screws counterclockwise using the appropriate screwdriver. The lamp and the motion detector are attached as one unit.
Locate the two wires attached to the motion detector. One wire will be either blue or red, and the other will be white.
Remove the wire nuts from each of the two wires. Turn the nuts counterclockwise by hand.
Test the two wires to verify the absence of electrical power using a voltage tester.
Disconnect the blue (or red) wire from the motion detector from the two black wires.
Reconnect the two black wires with a wire nut. Tighten clockwise by hand.
Disconnect the white wire from the sensor from the two white neutral wires.
Reconnect the two white wires with a wire nut and tighten.
Apply electrical tape to the wire nuts. Overlap the tape onto the wire insulation.
Wrap the exposed wire ends of the motion detector with electrical tape.
Push the wiring into the electrical box. Secure the lamp fixture to the box with the base mounting screws. Tighten the screws clockwise.