Zwave Dual Relay setup

i am newbee dont know how to add zwave dual relay switch on configuration.yaml file ,i already detect in system it auto appear work as well but after adding friendly name how can i call switch and how to add any event.
as well need guide how to put all on off group of switch.