@property
def device_info(self) -> DeviceInfo:
    'Return device information for the device registry.'
    node = self.values.primary.node
    node_instance = self.values.primary.instance
    dev_id = create_device_id(node, self.values.primary.instance)
    node_firmware = node.get_value(CommandClass.VERSION, ValueIndex.VERSION_APPLICATION)
    device_info = DeviceInfo(identifiers={(DOMAIN, dev_id)}, name=create_device_name(node), manufacturer=node.node_manufacturer_name, model=node.node_product_name)
    if (node_firmware is not None):
        device_info[ATTR_SW_VERSION] = node_firmware.value
    if (node_instance > 1):
        parent_dev_id = create_device_id(node)
        device_info[ATTR_NAME] += f' - Instance {node_instance}'
        device_info[ATTR_VIA_DEVICE] = (DOMAIN, parent_dev_id)
    return device_info
Return device information for the device registry.
@property
def device_info(self) -> DeviceInfo:
    
    node = self.values.primary.node
    node_instance = self.values.primary.instance
    dev_id = create_device_id(node, self.values.primary.instance)
    node_firmware = node.get_value(CommandClass.VERSION, ValueIndex.VERSION_APPLICATION)
    device_info = DeviceInfo(identifiers={(DOMAIN, dev_id)}, name=create_device_name(node), manufacturer=node.node_manufacturer_name, model=node.node_product_name)
    if (node_firmware is not None):
        device_info[ATTR_SW_VERSION] = node_firmware.value
    if (node_instance > 1):
        parent_dev_id = create_device_id(node)
        device_info[ATTR_NAME] += f' - Instance {node_instance}'
        device_info[ATTR_VIA_DEVICE] = (DOMAIN, parent_dev_id)
    return device_info