Read and display Z-wave ID in a driver?

I am creating drivers for thermostats supporting associations and a relay module for handling water heating. To be able to create the association from the thermostats to the relay module, users needs to know the Z-wave ID of the relay module.
Is there a way to read and display it.

Tagging @philh30

local zwave_node_id = device.device_network_id

To display in the device, you’ll need to create a custom capability.

1 Like

Thanks.
Was hoping to avoid custom capability.