diff --git a/homeassistant/components/icloud/coordinator.py b/homeassistant/components/icloud/coordinator.py index 18055beeed23..fce8d91bb7bc 100644 --- a/homeassistant/components/icloud/coordinator.py +++ b/homeassistant/components/icloud/coordinator.py @@ -217,8 +217,9 @@ REMINDERS_ERRORS = ( # Cloud Storage key. Such a reminder has no readable title and no notes, and # `update()` rewrites TitleDocument and NotesDocument unconditionally, so # writing one back would replace the real title with this placeholder and blank -# the notes. They are left out of the to-do lists entirely until the library -# requests Protected Cloud Storage access. +# the notes. pyicloud requests that key before every Reminders access, so this +# should not happen anymore, but any such reminder is still left out of the +# to-do lists rather than risk overwriting it. UNDECODED_TITLE = "Error Decoding Title" # Reminders are fetched one list at a time, so keep the per-list page bounded. @@ -314,9 +315,10 @@ class IcloudRemindersCoordinator(DataUpdateCoordinator[dict[str, IcloudReminderL """Warn once if reminders had to be left out because of encryption. With Advanced Data Protection enabled, CloudKit only returns readable - content to a session holding a Protected Cloud Storage key, which - pyicloud does not yet request. Those reminders are skipped rather than - shown as placeholders, so say once why a list looks short. + content to a session holding a Protected Cloud Storage key. pyicloud + requests one, but if a reminder still comes back undecoded it is + skipped rather than shown as a placeholder, so say once why a list + looks short. """ if self._warned_undecoded or not self._skipped_undecoded: return @@ -324,8 +326,7 @@ class IcloudRemindersCoordinator(DataUpdateCoordinator[dict[str, IcloudReminderL self._warned_undecoded = True _LOGGER.warning( "Some reminders could not be decrypted and have been left out of " - "the to-do lists. This account uses Advanced Data Protection, " - "which Home Assistant cannot read Reminders from yet" + "the to-do lists" ) diff --git a/homeassistant/components/icloud/manifest.json b/homeassistant/components/icloud/manifest.json index a7a0f91b6614..f9bc4456ed69 100644 --- a/homeassistant/components/icloud/manifest.json +++ b/homeassistant/components/icloud/manifest.json @@ -8,5 +8,5 @@ "integration_type": "hub", "iot_class": "cloud_polling", "loggers": ["keyrings.alt", "pyicloud"], - "requirements": ["pyicloud==2.6.5"] + "requirements": ["pyicloud==2.7.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index e1bc189c253a..182ca9a03b64 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2305,7 +2305,7 @@ pyhomeworks==1.1.2 pyialarm==2.2.0 # homeassistant.components.icloud -pyicloud==2.6.5 +pyicloud==2.7.0 # homeassistant.components.imou pyimouapi==1.4.0