Wall switch and socket for controlling low-voltage electrical equipment