Wiring issue with motion detector

switch

In that case the black was NOT a neutral in the traditional sense, and your description was inaccurate and threw us off. IT was getting its "neutral" by being inline with the light. When the switch is off and the bulb is in the socket, the neutral "phase" runs all the way to the switch powering the motion sensor.
 
Back
Top