I get red to red, white to white and black to black. what do you do with ground? where does it go? sensors work, lights do not. when I switch red and black wires nothing works. Oh, 3 way install. Also where does small yellow piece of wire attach on 3 way switch?