If wiring is in place connect the white of the incoming power to the two whites going to the lights. Securely attach the junction box to a stud rafter or joist.
All About Combination Switches And Receptacles Better Homes
How to wire two light switches with one power supply. If youve mounted two switches in the same electrical box prepare two black wires. Cut two lengths of black wire and two lengths of bare copper wire about 6 inches long. Connect the wires to the receptacle supplying the power to the switches. Strip about 34 inch of insulation from one end of each black wire. Connect the pig tails to the two switches. You will want to once again strip about an inch or so of the wires and then attach them to the green ground and then securely attach it with a screw.
Connect one end of the 6 inch wire to the top terminal of the first switch. Attach the bare ground wire to the green ground screw. On each of the two single pole switches install a hot wire pigtail and a ground wire pigtail that will be used to attach the switches to the wires from the feed cable. Then you will need to attach the white wire to the silver terminal as well as the black wire to the brass terminal. The national electrical code nec requires certain codes to be followed when installing a junction box. Use wire connectors to secure the wires into the junction box.
Connect the wires to the receptacle issuing the power to the switches. Connect two pig tails a pig tail is a short piece of wire to the black of the incoming power with a wire nut. Twist the other end. Attach the white wire to the silver terminal and the black wire to the brass terminal. The existing junction box should already meet these requirements. 2 gang 2 way light switch for example this allows lighting in a hallway stairwell or other large rooms to be controlled from multiple locations hook up a double light switch and a this hardwired switch lets smart light.
Hook up a double light switch. Strip three fourths inch of insulation from both wires.