I am trying to install a microswitch directly in a light fixture. There is absolutely no room to install the microswitch behind the switch (The light switch is 2-gang size but controls a fan [1 gang] and 2 lights [mini decora switches]).
The light fixture itself has only two wires (hot-black; white-neutral). I installed the black and white wires coming from the wall directly to the microswitch (to the 2 switches marked N and L, under the “AC Power” (basically, the 2 middle terminals). I then connected the black and white wires from the light fixture itself to the wall switch terminals on the microswitch (to which I had attached pigtails of 18 AWG wire).
When I turned the power on, the smartthings hub found the microswitch and connected to it, without a problem. But the light doesn’t go on - either using my smartthings app or the wall switch.
Is the microswitch defective or am I missing something here? The light fixture has only those two wires. Thanks in advance.