Hot wire reads 110VAC when switch is off. when switch is turned on, light turns on, but hot wire in and out read 0 when measured to ground. Why is this happing?
Edit: I wanted to put in a smart switch. It would not work. So I started to test the switch that was in place, when I found this problem. I did not install the original switch. I was thinking maybe it is a bad neutral. I will recheck to see if there is voltage across the terminals when the switch is off.