Fibaro dimmer 2 S2 -control another device

Hi, I have a fibaro Dimmer 2 along with a double switch.
S1 = light on-off, dimmer, works normally
S2 = Same light on and off
I need the switch S2 to control an IKEA Trådfri adapter (socket), and not be related to the lamp (S1). .

Is it possible, and if so, can anyone share how to set this up?

Settings for S2 as for now:

Set scene activation to yes on the dimmer and create a flow to turn on the socket.

But check the installation guide on how to correctly install the wiring.

If the socket also was a z-wave device you could have used direct association.