            ${isUnavailable ? '' : `<input type="checkbox" class="form-check-input tree-device-checkbox" ${isSelected ? 'checked' : ''} onchange="toggleModalTreeDeviceSelection('${device.deviceID}')" onclick="event.stopPropagation()">`}
                <div class="device-info">
                    <div class="device-name">${device.productName}</div>
                    <div class="device-details">
                        <span class="device-id">${device.deviceID}</span>
                        ${device.seri