/**
 * @license
 * Copyright 2025-2026 Open Home Foundation
 * SPDX-License-Identifier: Apache-2.0
 */
function getDeviceName(node) {
  if (node.nodeLabel) return node.nodeLabel;
  const productName = node.productName || "Unknown Device";
  const serialNumber = node.serialNumber;
  return serialNumber ? `${productName} (${serialNumber})` : productName;
}
export {
  getDeviceName
};
//# sourceMappingURL=node-name.js.map
