-
-
Notifications
You must be signed in to change notification settings - Fork 35.7k
Closed as not planned
Labels
Description
The problem
Since 2021/11/18, all Chinese iCloud accounts were moved from icloud.com to icloud.com.cn, which makes this whole amazing package(and some others, see icloud-photos-downloader/icloud_photos_downloader#392) not working.
What version of Home Assistant Core has the issue?
core-2022.7.6
What was the last working version of Home Assistant Core?
core-2022.7.6
What type of installation are you running?
Home Assistant Core
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?
Logger: homeassistant.config_entries
Source: components/icloud/account.py:112
First occurred: 2:12:45 AM (1 occurrences)
Last logged: 2:12:45 AM
Error setting up entry [email protected] for icloud
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/icloud/__init__.py", line 97, in async_setup_entry
await hass.async_add_executor_job(account.setup)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/icloud/account.py", line 112, in setup
self.api = PyiCloudService(
File "/usr/local/lib/python3.10/site-packages/pyicloud/base.py", line 271, in __init__
self.authenticate()
File "/usr/local/lib/python3.10/site-packages/pyicloud/base.py", line 337, in authenticate
self._webservices = self.data['webservices']
KeyError: 'webservices'Additional information
It's related to python site-package: //usr/local/lib/python3.10/site-packages/pyicloud
Refer to pull request : picklepete/pyicloud#383.
May need update for iCloud integration code to configure.