The controlled lamp was built installing a relay in parallel to the switch.
Two wires come from the lamp: