The purple wire is usually a secondary sizzling wire. On a smart switch, the red wire often connects to the switch leg to manage a light or other load. In an electrical box, a red wire could be a traveler, a switch leg or the second hot of a 240-volt https://safeelectricalwiring24567.blogsumer.com/33965162/smart-power-points-and-switches-no-further-a-mystery