getComponents($device['device_id'], ['type'=>'Cisco-CIMC']); // We only care about our device id. $components = $components[$device['device_id']]; if (count($components) > 0) { ?>