You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
After performing a complete wipe of configs for iCloudv3, I'm now encountering a frustrating error:
(Configuration: iCloud3 v3.1.6.1 ; HA core 2025.2.5 ; Supervisor 2025.3.3)
2025-03-17 17:51:00.545 ERROR (SyncWorker_1) [custom_components.icloud3] cannot access local variable 'PyiCloud' where it is not associated with a value
Traceback (most recent call last):
File "/config/custom_components/icloud3/support/start_ic3_control.py", line 77, in stage_1_setup_variables
pyicloud_ic3_interface.create_all_PyiCloudServices()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/icloud3/support/pyicloud_ic3_interface.py", line 67, in create_all_PyiCloudServices
PyiCloud = log_into_apple_account(username, password, locate_all_devices)
File "/config/custom_components/icloud3/support/pyicloud_ic3_interface.py", line 157, in log_into_apple_account
elif PyiCloud and PyiCloud.locate_all_devices is not None:
^^^^^^^^
UnboundLocalError: cannot access local variable 'PyiCloud' where it is not associated with a value
Hope this will help
The text was updated successfully, but these errors were encountered:
That indicates an error logging into the Apple account. I’m not sure how or why you wiped the configs but I would ignore it and go into the Configure iCloud3 screen and set up the Apple acct and devices and restart everything.
Hello,
After performing a complete wipe of configs for iCloudv3, I'm now encountering a frustrating error:
(Configuration: iCloud3 v3.1.6.1 ; HA core 2025.2.5 ; Supervisor 2025.3.3)
2025-03-17 17:51:00.545 ERROR (SyncWorker_1) [custom_components.icloud3] cannot access local variable 'PyiCloud' where it is not associated with a value
Traceback (most recent call last):
File "/config/custom_components/icloud3/support/start_ic3_control.py", line 77, in stage_1_setup_variables
pyicloud_ic3_interface.create_all_PyiCloudServices()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/icloud3/support/pyicloud_ic3_interface.py", line 67, in create_all_PyiCloudServices
PyiCloud = log_into_apple_account(username, password, locate_all_devices)
File "/config/custom_components/icloud3/support/pyicloud_ic3_interface.py", line 157, in log_into_apple_account
elif PyiCloud and PyiCloud.locate_all_devices is not None:
^^^^^^^^
UnboundLocalError: cannot access local variable 'PyiCloud' where it is not associated with a value
Hope this will help
The text was updated successfully, but these errors were encountered: