by Mr White »
Mon Aug 31, 2020 12:16 pm
Sorry to tell you this, but it is a fact of life that there is no rule that says what colour does what in regards to lighting, it is up to who ever wired it what colours they chose to do what.
So you will have to use trial and error, and next time before you do anything, mark the wires and take several clear in focus pictures.
I will however guess you have made a simple error in assuming that both switches are the same layout, I would guess if you compare the old switch with the new switch you will find the layout is NOT the same.