Allocation of the optical or electronic component