How to connect the switch from the outlet in the junction box?
Question from the "kettle" on connecting sockets and a switch on the loggia. Purchased products "Era 12", the view from the inside in the photo. The colored lines are drawn wires. The ends of the wire from the junction box are conditionally left, the wire to the ceiling at the lamp goes to the right. I can not navigate how to switch from a power outlet to a switch. Can you explain?
There is also a separate article on this subject: https://our.electricianexp.com/en/sxema-podklyucheniya-rozetka-vyklyuchatel-lampochka.html