The purple wire is generally a secondary scorching wire. With a smart switch, the red wire frequently connects for the switch leg to regulate a light or other load. In an electrical box, a red wire may be a traveler, a switch leg or the 2nd sizzling of the 240-volt https://miloqtttp.blogdeazar.com/34987182/smart-light-switches-fundamentals-explained