-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
HKDevice Error Randomly Appearing #103103
Comments
Hey there @Jc2k, @bdraco, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) homekit_controller documentation |
Please try Jc2k/aiohomekit#342 |
Been running for almost 2 hours. No errors. Looking at my old logs this was happening every 5-10 mins before. I can report back in the morning if you like but I think this fixed it. |
No errors all night. Think this is good |
I'll get it merged and a new release shortly after breakfast |
changelog: Jc2k/aiohomekit@3.0.8...3.0.9 fixes #103103
The problem
I haven't found the scenario that causes it, but I keep seeing the following error in my logs:
Unexpected exception from <bound method HKDevice.async_update of <custom_components.homekit_controller.connection.HKDevice object at 0x7f5bccb090>
What version of Home Assistant Core has the issue?
2023.10.0b2
What was the last working version of Home Assistant Core?
2023.9.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
homekit_controller
Link to integration documentation on our website
https://www.home-assistant.io/integrations/homekit_controller/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
I believe it is caused by this commit,
c3d1db5#diff-d7ac6c88ae3f517aa1ec63eb683726dce2075b8bc44c88ea7eba97850d0a208bL127
-- this was changed to a set
This is passed here https://github.com/home-assistant/core/blob/dev/homeassistant/components/homekit_controller/connection.py#L807
Which calls into https://github.com/Jc2k/aiohomekit/blob/94bc38feb1175160dddcc0206e7175591df09b3f/aiohomekit/controller/coap/connection.py#L505
Which expects a list, not a set.
I do run a modified homekit_controller but from my testing I believe this is in the 2023.10 integration changes
The text was updated successfully, but these errors were encountered: