-
-
Notifications
You must be signed in to change notification settings - Fork 29.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while setting up iCloud platforms for device_tracker & sensors #75940
Comments
icloud documentation |
Hey there @Quentame, @nzapponi, mind taking a look at this issue as it has been labeled with an integration ( |
Same exact problem. Error while setting up icloud platform for device_tracker |
The problem described above persists. Home Assistant 2022.8.0b5 |
Beta 7....Still broken. |
@mehhhhhhhhhhhhhhhhhhhhhhhhhh No need report each version it is still broken. This issue is open at this point. Thanks 👍 |
Same issue just respond to follow :) |
Has been glitchy for some time, stopped working with the same errors today.
|
adding to follow - Same issue here |
same issue here on 2022.8 update, hope fix is availible soon or ill have to revert back to 2022.7 |
I already reverted back .... need the device trackers on ios for to many automations 😜 |
I removed the app, rebooted and reinstalled, intergration... then its really strange, get no devices showing or auth request.... :O |
https://www.home-assistant.io/integrations/icloud/#in-case-of-troubleshooting In case of troubleshooting Go into your Home Assistant configuration .storage folder and delete the icloud folder, then retry. |
It doesn't work, I removed the icloud folder and reloaded the integration, it created a new icloud folder but no devices and no auth request |
Same here. Tried all the usual removing of files and restarting. Now no sensors or entities are shown under the integration (2022.8) |
adding to follow - Same issue here |
same issue |
following issue |
Same here :( |
Same here :'( following issue too! If we can help by giving you more details, let us know! |
Can we get some sort of feedback as to whether someone has looked into this and is working on it? A week of silence is deafening. |
My bet is that this integration is pretty much dead. The code owner hasn't addressed the constant iCloud sign-in emails, and now is silent on any potential fix for 2022.8. Personally, I've moved on to iCloud3, available via HACS. The setup docs are definitely overcomplicated, but I was able to get it functioning by reading through both the docs and sample config file. It might be worth checking out if you don't want to wait around for this integration to be fixed. |
I tried that the other day but I couldn't figure out how to even start it and I'm really only using it for my batter levels on my phone and watch which I do not believe iCloud3 supports. |
I have icloud3 with HACS installed and its broken too now. Please share how you get it working. |
I don't know how to fix a broken instance, as this is the first time I've successfully used iCloud3. The issue I had when I tried setting it up previously was not getting a window to enter the 2FA code into. Turns out it was hiding in Home Assistant's "Notifications" section, but not displaying a notification badge. Clicking "Notifications" in the lower left corner of Home Assistant revealed that iCloud3 had a prompt to enter the 2FA code. |
Icloud3 is what I switched to but no watch battery support available |
Still not working in |
I figured out listeners was indeed deleted from line 107 in icloud/account.py
Restart and it's working for me! |
This just restores listeners deleted during a refactor by @epenet in home-assistant#75007
You are totally right! Great find, @DTTerastar! |
Can I ask a stupid question? If I wanted to change the "homeassistant/components/icloud/account.py" file to manually add the "self.listeners = []" line, where do I find this file in the HA OS filesystem? |
@DTTerastar YOU ROCK. Now save us from the dreaded iCloud sign in emails! 😉 |
Updating the docker tag :2022.8 solves this?, I just updated my container but the same error appears |
Thank you. Fixed it for me. |
Sorry to be a quite noob... but how do I run these commands in proxmox instance? I'm running HAOSS Supervised |
Use add-on 'SSH and Web terminal'. Disable 'Protection Mode'. Run commands as above |
How do I do this when not using docker? I'm on HA Blue (ODROID) |
Note: the fix has been merged, and it will be available in 2022.8.3 patch release |
The problem
The iCloud integration fails to setup under beta 2022.8.0 b2 with the following error:
`Logger: homeassistant.components.device_tracker
Source: components/icloud/device_tracker.py:46
Integration: Device tracker (documentation, issues)
First occurred: 10:01:31 AM (1 occurrences)
Last logged: 10:01:31 AM
Error while setting up icloud platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/icloud/device_tracker.py", line 46, in async_setup_entry
account.listeners.append(
AttributeError: 'IcloudAccount' object has no attribute 'listeners'
`
and
`Logger: homeassistant.components.sensor
Source: components/icloud/sensor.py:31
Integration: Sensor (documentation, issues)
First occurred: 10:01:31 AM (1 occurrences)
Last logged: 10:01:31 AM
Error while setting up icloud platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/icloud/sensor.py", line 31, in async_setup_entry
account.listeners.append(
AttributeError: 'IcloudAccount' object has no attribute 'listeners'
`
What version of Home Assistant Core has the issue?
core-2022.8.0b2
What was the last working version of Home Assistant Core?
core-2022.7.7
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
iCloud
Link to integration documentation on our website
https://rc.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
The text was updated successfully, but these errors were encountered: