Change the light switch that operates on both sides of the. Connect the 2 black wires 1each to the brass screws on the new switch.

Rh 3507 Wiring A Light Switch With Two Black Wires
Light switch two black wires. Connect the top screw to the wire that feeds to the light. In newer wiring made with nm cable the wires will have black insulation and likely will be attached to brass or copper colored screw terminals along one side or on opposite sides of the switch body. If i have two black electrical wires how can i tell which one is hot. Connect the lead wires from the fixture to the black hot wire in the electrical box by twisting a wire connector to the ends of the. When you turn the power back on and if you want to swap the direction of the switch as in press down to turn off or turn on turn off the power and switch the two black wires. Connect the bottom screw to the hot wire.
When you connected the black and white wires to the motion switch i think you blew the switch direct short to ground. 2 blacks wires hot lead 1 red wire relay. Be sure you have shut the power off before you start. Now your motion switch is always on. This is electrically the same as having a separate wire going to each switch from a common line hot. The other wire also black should be the switched hot going to a light or a switched receptacle.
Voltage is the pressure of electricity flowing through a. The two black wires one is power input the other is switched power output is used to control a light fixture or outlet. Twist the ends of the two light fixture lead wires together. Set your multimeter to measure voltage. Change the light switch that operates on both sides of the wall. I have a set of three switches in a 3 gang box wired that way.
Don a pair of protective rubber gloves before testing to find out which black wire is hot. Switches are never connected between a black wire and a neutral wire. Go to the big box store and get a single pole single throw sounds like you bought a 3way switch single pole double throw. Make sure to shut off the power before doing this turn the breaker for the circuit off. 15 minutes to change. It would be hot when the switch is on and not hot when the switch is off.