I wanted to install motion sensor switch in my bathroom. Its a small closet like room with a toliet sitting area. Most US users know what I am talking about. In it are two switches. One switch controls a 14W LED light and the other exhaust fan.
This is what it looks like. Imagine two dumb regular switches here.
Now what I wanted to do was install one motion sensor switch that will control both the fan and light. So I bought a leviton motion sensor switch: https://www.homedepot.com/p/Leviton-2-Amp-Single-Pole-Decora-Motion-Sensor-In-Wall-Switch-Auto-On-in-Light-Almond-DOS02-1LT/317168137
I opened up both the switches and connected the wiring of each i.e. black & black of each to the black of motion sensor and neutral and ground of motion sensor to the ground of wall switches. Now when I turn on the power. Everything is on. LED is running + Fan is running. But when I click on the on/off switch of motion sensor to turn them off, nothing happen. They keep running.
I thought ok, there is either something with the motion sensor I just bought or something wrong with the wiring. I connected only the LED bulb to the motion sensor and it worked perfectly. It turns on/off when I click the motion sensor switch. Why doesnt they turn off when both the switches are connected? Is there something basic I am missing here?
I went and bought a Lutron 2amp motion sensor switch and that too behaves in the exact same way. Works when alone, keeps running when both switches are connected.
NOTE: I have done similar setup in two other bathrooms of mine (LED+Fan on one motion sensor switch) the exact same wiring setup (black on black and ground+nertual to ground only) and they are working fine there. Its only here the swtich is acting up. I also tried connecting neutral of motion sensor to white (you can kinda see in the back) and still this one remain stubbornly on all the time.