How to add a sensor reporting updated RLOC16 for a matter device?

I would like to have a sensor with the actual rloc 16 for each Matter device, so that when I go in OTBR UI Topology section I can easily understand which device is each node, just looking to the rloc16.

How can I add it?