async function refreshDevices() {
  // Reset memory
  this.devices = [];
  const nodeDetails = this.commissioningController.getCommissionedNodesDetails();

  await Promise.each(nodeDetails, async (nodeDetail) => {
    await this.handleNode(nodeDetail);
  });
}
@description Refresh the devices.
@example matter.refreshDevices();