-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Unknown Exception - 'list' object has no attribute 'object_key' #338
Comments
I have similar error: |
Thanks both! I indeed can reproduce this, but haven't been able to figure out yet what is going wrong exactly. |
FYI: Same here.
|
Disregard this message, thought GPT4o fixed, did not... Also, I am having this issue. 😢 2nd edit: I think it's fixed. Will report back if changes work in about 10 minutes. Nope. nevermind, i'm only as good as AI and it's not that good. |
This is a known issue. Hopefully I can have a look soon to fix this. No need to reply with 'same issue', feel free to do a thumbs up on original post if you face the same issue. |
This issue resolves itself on my system every time after a reboot, but always requires a full reboot of home assistant. The error that pauses updates for 1 minute seems to correct itself and doesn't require a restart to begin to function again. I made an automation that restarts HA when the "updates paused for 5 minutes" text appears in the log and this is working for now but is not a viable solution long term. It would be a lot less destructive if I could simply reload the integration but that doesn't resolve this error. |
This comment was marked as spam.
This comment was marked as spam.
Issue fixed once upgraded to latest beta (including #355) |
Really? I didn't see any new release notes and couldn't even find any new commits when I looked yesterday. |
See https://github.com/iMicknl/ha-nest-protect/tree/beta (beta branch) |
Reopened this issue due to issues with the fix. Would be good to update as soon as possible to v0.4.0b7 (see release information). |
With v0.4.0b7:
|
Hi there, I have similar issues with v0.4.0b7 on Home Assistant Core 2024.10.1 / Supervisor 2024.10.0 / OS 13.1 / Frontend 20241002.2. Every 5 minutes, I get the following error in my home assistant log file:
I hope this helps. |
I also have this issue running v0.4.0b7 |
@puterboy I don't have time to fix this, however it is only a warning and shouldn't influence the working of the integration. Happy to accept any (tested) PRs. |
Isn't that the same root cause as #364 and the like (delayed presence notifications)? |
@ScottESanDiego not sure if I understand your question? The revert in #364 was because this contributed fix did cause side effects and hit the Nest servers massively. |
The HA error message says "Updates paused for 5 minutes". I confirmed that my HA occupancy sensor doesn't trigger for up to a few minutes while homebridge-nest picks it up almost immediately. |
I was replying to your ( @iMicknl ) statement above of "owever it is only a warning and shouldn't influence the working of the integration.". I don't believe that is true - it's an error and changes the working of the integration at least insomuch as notifications are delayed. I agree, the fix to #364 wasn't a good fix and you were right to revert it, just think the issue in this bug is the same root case and impact as the other bugs (like #364 ). |
2024-10-23 14:27:17.710 ERROR (MainThread) [custom_components.nest_protect] Unknown exception. Please create an issue on GitHub with your logfile. Updates paused for 5 minutes. |
I have been getting it for a while now also: This error originated from a custom integration. Logger: custom_components.nest_protect Unknown exception. Please create an issue on GitHub with your logfile. Updates paused for 5 minutes. |
FWIW, the error is different after recent HA updates. Still doesn't work, and errors in the same geenral area...but a slightly different error.
|
Should be fixed in the latest beta. Please update to the latest version and create a new issue if you face any issues. |
The problem
Under v0.4.0b5 / HA 2024.6.3, every 5 minutes, the following error pops:
2024-06-17 19:21:10.772 ERROR (MainThread) [custom_components.nest_protect] Unknown exception. Please create an issue on GitHub with your logfile. Updates paused for 5 minutes.
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/custom_components/nest_protect/init.py", line 208, in _async_subscribe_for_data
dict(b, **buckets.get(b.object_key, {})) for b in [data.updated_buckets]
^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'object_key'
2024-06-17 19:26:11.491 ERROR (MainThread) [custom_components.nest_protect] Unknown exception. Please create an issue on GitHub with your logfile. Updates paused for 5 minutes.
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/custom_components/nest_protect/init.py", line 208, in _async_subscribe_for_data
dict(b, **buckets.get(b.object_key, {})) for b in [data.updated_buckets]
^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'object_key'
2024-06-17 19:31:12.226 ERROR (MainThread) [custom_components.nest_protect] Unknown exception. Please create an issue on GitHub with your logfile. Updates paused for 5 minutes.
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/custom_components/nest_protect/init.py", line 208, in _async_subscribe_for_data
dict(b, **buckets.get(b.object_key, {})) for b in [data.updated_buckets]
^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'object_key'
What version of this integration (ha-nest-protect) has the issue?
0.4.0b5
What version of Home Assistant Core has the issue?
2024.6.3
Device / Model
No response
Diagnostics information
No response
Home Assistant log
Logs
Additional information
No response
The text was updated successfully, but these errors were encountered: