The purple wire will likely be a secondary scorching wire. Over a smart switch, the purple wire generally connects to the switch leg to regulate a light or other load. Within just an electrical box, a red wire may be a traveler, a switch leg or the 2nd very hot https://remingtonptmbp.blogolenta.com/31738773/not-known-facts-about-wiring-to-lights