parately...');
                    
                    // Create promises to fetch each device's full info
                    const devicePromises = devices.map(device => 
                        fetch('/api/v1/devices/' + device.deviceID)
                            .then(response => response.json())
                            .then(deviceData => deviceData.device || deviceData)
                            .catch(error => {
                                console.error('Error fetching device ' + device.