Error adding iCloud integration

Hello everyone,
Running hassio for less than 24 hours and get nothing (as in no devices) when I add the iCloud integration. Tried the front end and configuration.yaml route with the same results. I get the following in the log:

2020-01-24 09:24:51 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [email protected] for icloud
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 215, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/icloud/__init__.py", line 158, in async_setup_entry
    await hass.async_add_executor_job(account.setup)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/icloud/__init__.py", line 307, in setup
    self.update_devices()
  File "/usr/src/homeassistant/homeassistant/components/icloud/__init__.py", line 341, in update_devices
    self._fetch_interval = self._determine_interval()
  File "/usr/src/homeassistant/homeassistant/components/icloud/__init__.py", line 411, in _determine_interval
    int(min(intervals.items(), key=operator.itemgetter(1))[1]),
ValueError: min() arg is an empty sequence

My iCloud is pretty generic. My whole family and all of their devices are in FInd My. Not using 2FA.

On several occasions after adding the integration I receive an email notification from Apple regarding a new sign in to iCloud. It’s just that nothing happens after that.

Any ideas what to try next?

Thanks everyone,
Bo

Got the same problem…

Hello.

I have the same issur with the 0.104.3 version. Did you find the solution ?

Thank you !

No, I never did. I had not tried since the 0.104.3 upgrade. I just tried again and there was no change. Same e-mail from Apple, same error in the log.

Mine is working fine, I understand from reading the docs that after a restart you will receive a message from Apple that a device is using my Apple ID to logon. But I keep getting this message almost every 5 mins and I love the integration it’s very annoying. Has anybody else had this same issue? Have you figured out a fix for it?

Thanks!!

Corey

Just got done upgrading to 0.105.2. Added the iCloud integration in and it worked like a champ! Imported my devices almost instantly.

And wow the UI is cool. Really digging the icons on the add-ins.

Do you keep getting 2FA notifications on your phone?