How to connect the socket with switch?

1, switch control socket. The live wire is connected to the switch L 1, the switch L and the socket L are connected by short wires, the zero wire is connected to the socket N, and the ground wire is connected to the socket E (grounding symbol).

2. Switch the control light. The socket should always be open. Connect the wire to the socket L, connect the switch L and the socket L to the short wire, connect the neutral wire to the socket N, and connect the ground wire to the socket E (grounding symbol). Switch L 1 and control line are connected to the lamp anode, and socket n and zero line are connected to the lamp cathode.

3. Connect L 1 and L with a short piece of wire. The zero line (green line) enters the N pole of the new socket, and the live line (red line) enters the COM pole of the socket.