The purple wire will likely be a secondary incredibly hot wire. On the smart switch, the red wire normally connects towards the switch leg to regulate a light or other load. Within an electrical box, a purple wire may be a traveler, a switch leg or the 2nd incredibly hot https://cashpdpnd.tblogz.com/the-smart-trick-of-smart-power-point-that-no-one-is-discussing-48242136