home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.

Home Page:https://www.home-assistant.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refreshing of iCloud 2FA causes removal of entities which breaks relation with People

DJBenson opened this issue · comments

The problem

When Apple periodically decides a 2FA refresh is required, entering the credentials in Home Assistant causes the entities to be deleted even though they are added back in immediately. This breaks my "People" config as the Apple devices are removed and need to be added back in.

What version of Home Assistant Core has the issue?

2022.5.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

iCloud

Link to integration documentation on our website

https://www.home-assistant.io/integrations/icloud

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Hey there @Quentame, @nzapponi, mind taking a look at this issue as it has been labeled with an integration (icloud) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

My monthly 2FA refresh has been triggered and again, the mapping between iDevices and People is once again broken.

Any update on this?

This happens regularly - every time the iCloud re-configure process is kicked off (under control of Apple and not HA).

It's very irritating and it would seem the integration could retrieve previously linked devices to that person and re-associate them. The problem is (aside from manual tedious re-association) is workflows break because locations (for example) no longer trigger.

Yes, there is a problem and it really upsets.
I will add: devices and trackers may disappear, if the integration or haos restarts and the device is not online, then it disappears and appears only later, but the person's settings are already broken and are not restored

Any suggestions for how we encourage the maintainers to take a look at this and/or validate it is a problem

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

This isn't resolved. I've now switched to iCloud3 via HACS and this doesn't happen so it's clearly an issue with the official integration.