Thanks petey racer
Okay so yesterday I put the receptacle box below ran 14/2 wire from the sensor switch to receptacle hook everything up everything worked. But I took one of those tester you plug in to the receptacle you know with the1 red and 2 yellow lights on it to see if is is wired correctly. It come on one red and one yellow. So I just to see I took the sensor switch out and the to yellow lightd came on stating wired correct. Any suggestions.