I have a motion detector that gets it power from a outlet in the carport.
I like to put a switch to cut it off.the hot wire from the sensor light running thougt the switch back through the outlet. But then I cut it off will it cut off the power to the outlet or just the sensor light ?