Be sure to attach the white leg to the side of the switch labeled white or the side with the silver screw. The result is that the light will appear to work normally making the error hard to detect.
Tb 2560 Light Switch Wiring Backwards
Light switch wired backwards. Amateurs will sometimes reverse this. A light switch only interrupts the hot side and the neutral wire bypasses the switch. Mostly the light or fixture you are switching will not work. The operation of the dimmer is correct in that position moving the dimmer slider up brightens the lights down dims the lights. Moving the switch lever to the up position turns the lights off. If one of the wires is still hot at the light fixture with the switch in the off position then you most likely have the light switch on the neutral wire.
You can reverse the wires and it will work exactly the same way. With the switch mounted in the upright position. And be sure to attach the green or bare wire to the green colored ground. Then attach the black leg to the side of the switch labeled black or the side with the brass screw. In which case you will need to turn the power back off and unwire the switch and the other wire thats twisted together in the wire nut. Moving the switch lever to the down position turns the lights on.
If there is more than one set of wires that is when it can get tricky because the. A light switch is a single pole switch. There is a possibility that the switch will be damaged. The switch and dimmer work fine but the operation of the switch is reversed. If you wire the switch backwards it will work backwards light switch on light off light switch off light on. But what that means is the light is always energized and only the return at the switch is toggled on or off.
The only way to change the orientation of whether it is on or off is by physically reversing.