Unable to configure (2 factor)

The icloud component has been working fine, but it’s recently asked me to approve a second factor. So I’ve picked my number for the list (there is only 1 item) and entered “0” as the trusted device. This produces the following error:-

Error executing service <ServiceCall configurator.configure: configure_id=140652481917896-1, fields=trusted_device=0>
Traceback (most recent call last):
File “/usr/src/app/homeassistant/core.py”, line 1010, in _event_to_service_call
yield from service_handler.func(service_call)
File “/usr/src/app/homeassistant/components/configurator.py”, line 224, in async_handle_service_call
call.data.get(ATTR_FIELDS, {}))
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 327, in iter
yield self # This tells Task to wait for completion.
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 250, in _wakeup
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 243, in result
raise self._exception
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/device_tracker/icloud.py”, line 202, in icloud_trusted_device_callback
self._trusted_device = self.api.trusted_devices[self._trusted_device]
IndexError: list index out of range

Is anyone else getting this?

Same problem here. Have not found a solution yet.