Why would a light switch have 3 black wires?
If the light goes on, the second black wire you connected to the switch is the switch power and the black wire disconnected is the power to the other charges. If the light doesn't go on, then the opposite around the wire connected is the power to the other charges and the wire disconnected is the power to the light.
FREE Virtual Home Repair
We'll diagnose your issue over call or video and virtually walk you through the repair — all for free if you're a new customer! .