I’m replacing a light switch in an old house with lots of uncolored wiring. I removed the switch plate to find two black wires (connected to the switch) and a capped up white wire (see photo below).
Is that white wire ground or neutral? What’s the difference? What happens if I think it’s a neutral wire but it’s a ground instead? (For what it’s worth, I’m installing a wifi switch that requires a neutral.)