iMicknl / ha-nest-protect

Nest Protect integration for Home Assistant. This will allow you to integrate your smoke, heat, co and occupancy status real-time in HA.
MIT License
334 stars 63 forks source link

Unknown exception after latest update #351

Closed tankdeer closed 1 month ago

tankdeer commented 1 month ago

The problem

Started receiving these after updating to the latest beta version

What version of this integration (ha-nest-protect) has the issue?

0.4.0b5

What version of Home Assistant Core has the issue?

2024.8.3

Device / Model

Hardwired

Diagnostics information

nest_protect-fe613734dbd943f3ebef3cd29efb2da8-Nest Protect (Upstairs)-19171b161b62b6a509a03edaf3e40cc8.json

Home Assistant log

Logs ``` 2024-08-26 10:34:49.711 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 "/config/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-08-26 10:39:50.155 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 "/config/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-08-26 10:44:50.581 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 "/config/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-08-26 10:49:51.024 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 "/config/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' ```

Additional information

No response

iMicknl commented 1 month ago

Duplicate of #347

nandi95 commented 1 month ago

Is there a previous version I can roll back to where it works? what's the git hash?

iMicknl commented 1 month ago

One earlier release.. 😉

nandi95 commented 1 month ago

Screenshot 2024-08-30 at 09 02 05 unfortunately that didn't work either