Z-Wave Fibaro Motion Sensor and Z-Wave Fibaro Relay Insert 2 * 1.5 KW

first thing is head over to this thread

Then you need to create a custom device type and a app. also create 2 virtual on/off switch

Pair the relay to the hub and assign the custom device type to it.

use the custom app to link the 2 virtual device to the physical device.

if you need any more help please ask