My house has a hallway with a light and light switch. The switch controls electricity to the light correctly but also electricity to both the entire adjacent rooms (office and front from). When the switch is off both rooms get electricity but when its on they don't. We've always left the switch in the off position and not used the light but I'd like to fix it.
I'm guessing two of the wires should be pigtailed to bypass the light switch entirely? There are three black wires and a ground going to the switch. I've made two diagrams below of the state of each terminal in both the on/off position. Thanks for any help.