I am currently swapping out my switches with smart switches and one of the switches had different wire setup from the usual.
Prior to taking out the switch I took picture of the "primary switch" I quated/ say that cause when removing switches wire both had power in both areas.
Main switch
Look closely as the white wire and i believe the line wire are combined.
I got the switch currently working and the on and off works on the light. But could some one tell me if you can make it out in the images what that red wire Is?