Hello, I have a question about connecting a double light switch - I'm not sure if it's professionally called. The idea is to turn on one lamp with one key and another with the other. After a dozen or so attempts, I gave up.
Effect:
Either both lamps are on at the same time (switched on with one key), or otherwise, pressing the key causes the second lamp to light up alternately, once once, without the possibility of total light only.
Below is a photo of the connector and cables I have and the "diagram". With such a connection as shown in the picture, only one lamp works.
When connected as shown in the diagram, both lamps work, they are turned on with one key, pressing the other button does not change anything.
1 and 2 - brown cable
3 - gray
4 - black

Thank you in advance for your help and best regards.
Effect:
Either both lamps are on at the same time (switched on with one key), or otherwise, pressing the key causes the second lamp to light up alternately, once once, without the possibility of total light only.
Below is a photo of the connector and cables I have and the "diagram". With such a connection as shown in the picture, only one lamp works.
When connected as shown in the diagram, both lamps work, they are turned on with one key, pressing the other button does not change anything.

1 and 2 - brown cable
3 - gray
4 - black

Thank you in advance for your help and best regards.