Can't remove iCloud integration

Hi there,
i had the iCloud integration working for some time but now it states ‘attention required reconfigure’.
I can type in the password and i get the mfa notification on my iPhone but the integration just keeps on working (for hours) without prompting me to enter the access code.

Now i want to remove the integration and add it again but since it states attention requires, the menu button isn’t shown.
I also deleted /.storage/icloud and restarted HA but it didn’t work either.

How can i remove the integration?
Screenshot 2021-05-21 at 12.45.32

2 Likes

Did you ever find an answer? I have the same question.

+1. Removing the icloud folder from config/.storage and restarted but the integration is still there in HA confirguration/integrations.

Same here. Removed the folder but the integration keeps coming back - requesting reconfiguration, yet is not sending the request for the verification code untill a restart.

bump… same problem. Anyone ever found resolution?

I am also unable to remove it. There’s no option in the UI to remove iCloud when it needs to be reconfigured. I deleted the .storage/icloud directory and contents but it just reappears when Home Assistant is rebooted.

There really needs to be an option to disable and delete this integration when it demands reconfiguration.

I think this is due to the same error I’m getting. I was pointed to this issue on github opened a month ago.

Setup failed for icloud after update to 2022.3.X #67845

the only fix I found is to login on web and sign out of all browsers, on phone change password then re login on a browser, do verification step then add intergration again then you will get code.

Same issue here, id be pleased if there just appears a delete function…
removing the folder doesnt remove the integration and the code I receive after a boot does not solve the reconfiguration icloud issue

any help is appreciated

Bump. Now July and still issue. The integration acts like a virus

1 Like

Every month I face the same issue.

you can open up core.entries_registry and delete the icloud integration, then restart HA, then goto find icloud entities and delete them! good riddance!

1 Like

Where do I find this? I was actually able to remove it under devices… but I keep getting hte notificaiton popup saying apple Id is trying to sign on near by. I want to get rid of icloud for good I dont even use it. Doenst update quick enough for me

Any solution? I’m still having this problem. I’m fed up…!

it’s been a month since the last message, anyone here have any luck?

  1. Which version of Home Assistant are you running?
  2. What is you current status with this issue with the integration? Can you login to iCloud?

After fixing the login issue shown in the first post in this thread (I know, it will return after a while) you should be able to click in the 3 dots to open the integration’s menu and then remove it.

It is under /config/.storage/.
Please make sure you know what you are doing when playing with files under .storage folder. It’s hidden as default by most file editors for a good reason.
And before changing anything there please make sure you have a recent usable backup stored in a safe place.

I ran the following in the .storage folder:

while [ true ]; do rm -rf icloud; sleep 1; done

While booting keep refreshing the integrations page - If you catch it while it’s initialising the delete option is there - Delete it before it initialises!

1 Like

In case anyone else out there has a similar issue - I changed my icloud mail address which caused the same attention required / reconfigure alerts on boot. I figured I’d just add the integration with my new address, resulting in one working integration and one not with no way of removing the old one.

Eventually I managed to fix it by removing all entities associated with the icloud integration (iPhone, iPad, etc.), restarting, deleting the icloud folder from .storage, then finally adding the integration back into home assistant.