Step 1 - Safety

As always, turn off the electricity at the breaker where you are working for safety. When the power is successfully turned off, pick the bulb out and unscrew the obsolete fixture so the wires and junction box are showing. Using a voltage meter to obtain obvious the power is off prefer the used fixture completely. Separate the wires, reactivate the circuit, and test them to fabricate positive power is flowing properly. Then turn the power attend off. Now wrap the exposed wires with electrical tape while leaving only the ends exposed.

Step 2 - Wiring

On the unusual motion sensor light unit, Separate the gloomy, white, and bare/green grounding wires. Strip the kill of the insulation from the ends of each wire and connect the wires. murky to unlit, white to white, and ground to the junction box ground screw. Using a wire nut, twist the ends of each wire pair befriend together and then reactivates the circuit.
Motion Sensor Light Switches
...