The pink wire is normally a secondary warm wire. With a smart switch, the red wire frequently connects on the switch leg to control a light or other load. Inside of an electrical box, a purple wire may be a traveler, a switch leg or the second very hot of https://smartswitches23331.mybjjblog.com/fascination-about-wiring-to-lights-47376856