'Start the activation of the first device.'

def _activate_next_device(self):

    from scsgate.tasks import GetStatusTask
    with self._devices_to_register_lock:
        while self._devices_to_register:
            (_, device) = self._devices_to_register.popitem()
            self._devices[device.scs_id] = device
            self._device_being_registered = device.scs_id
            self._reactor.append_task(GetStatusTask(target=device.scs_id))
