Skip to content
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

Disconnect during operation can result in an empty event #345

Open
bdraco opened this issue Nov 20, 2023 · 0 comments
Open

Disconnect during operation can result in an empty event #345

bdraco opened this issue Nov 20, 2023 · 0 comments
Assignees

Comments

@bdraco
Copy link
Collaborator

bdraco commented Nov 20, 2023

Nov 20 11:22:33 homeassistant homeassistant[548]: bleak.exc.BleakError: officenewgli89proxy [c8:f0:9e:ce:c3:a8]: Eve - C3:8E:A1:EC:7D:00: Disconnected during operation
Nov 20 11:22:33 homeassistant homeassistant[548]: 2023-11-20 01:22:33.624 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Nov 20 11:22:33 homeassistant homeassistant[548]: Traceback (most recent call last):
Nov 20 11:22:33 homeassistant homeassistant[548]:   File "/usr/src/homeassistant/homeassistant/components/homekit_controller/connection.py", line 640, in async_update_new_accessories_state
Nov 20 11:22:33 homeassistant homeassistant[548]:     await self.async_update()
Nov 20 11:22:33 homeassistant homeassistant[548]:   File "/usr/src/homeassistant/homeassistant/components/homekit_controller/connection.py", line 823, in async_update
Nov 20 11:22:33 homeassistant homeassistant[548]:     self.process_new_events(new_values_dict)
Nov 20 11:22:33 homeassistant homeassistant[548]:   File "/usr/src/homeassistant/homeassistant/components/homekit_controller/connection.py", line 834, in process_new_events
Nov 20 11:22:33 homeassistant homeassistant[548]:     async_fire_triggers(self, new_values_dict)
Nov 20 11:22:33 homeassistant homeassistant[548]:   File "/usr/src/homeassistant/homeassistant/components/homekit_controller/device_trigger.py", line 265, in async_fire_triggers
Nov 20 11:22:33 homeassistant homeassistant[548]:     for (aid, iid), ev in events.items():
Nov 20 11:22:33 homeassistant homeassistant[548]:                           ^^^^^^^^^^^^
Nov 20 11:22:33 homeassistant homeassistant[548]: AttributeError: 'NoneType' object has no attribute 'items'
Nov 20 11:22:33 homeassistant homeassistant[548]: 2023-11-20 01:22:33.626 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Nov 20 11:22:33 homeassistant homeassistant[548]: Traceback (most recent call last):
Nov 20 11:22:33 homeassistant homeassistant[548]:   File "/usr/src/homeassistant/homeassistant/components/homekit_controller/connection.py", line 640, in async_update_new_accessories_state
Nov 20 11:22:33 homeassistant homeassistant[548]:     await self.async_update()
Nov 20 11:22:33 homeassistant homeassistant[548]:   File "/usr/src/homeassistant/homeassistant/components/homekit_controller/connection.py", line 823, in async_update
Nov 20 11:22:33 homeassistant homeassistant[548]:     self.process_new_events(new_values_dict)
Nov 20 11:22:33 homeassistant homeassistant[548]:   File "/usr/src/homeassistant/homeassistant/components/homekit_controller/connection.py", line 834, in process_new_events
Nov 20 11:22:33 homeassistant homeassistant[548]:     async_fire_triggers(self, new_values_dict)
Nov 20 11:22:33 homeassistant homeassistant[548]:   File "/usr/src/homeassistant/homeassistant/components/homekit_controller/device_trigger.py", line 265, in async_fire_triggers
Nov 20 11:22:33 homeassistant homeassistant[548]:     for (aid, iid), ev in events.items():
Nov 20 11:22:33 homeassistant homeassistant[548]:                           ^^^^^^^^^^^^
Nov 20 11:22:33 homeassistant homeassistant[548]: AttributeError: 'NoneType' object has no attribute 'items'

@bdraco bdraco self-assigned this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant