core
core copied to clipboard
Homekit Camera connection issue since 2024.8.2
The problem
Hello,
Since the upgrade from 2024.8.1 to 2024.8.2, the homekit connection to my somfy indoor camera does not work anymore. Rolling back to 2024.8.1 fix the issue
What version of Home Assistant Core has the issue?
core-2024.8.2
What was the last working version of Home Assistant Core?
core-2024.8.1
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
homekit bridge
Link to integration documentation on our website
https://www.home-assistant.io/integrations/homekit/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2024-08-16 22:37:04.438 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback _SelectorSocketTransport._call_connection_lost(None) (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1181, in _call_connection_lost
super()._call_connection_lost(exc)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 901, in _call_connection_lost
self._protocol.connection_lost(exc)
File "/usr/local/lib/python3.12/site-packages/aiohomekit/controller/ip/connection.py", line 89, in connection_lost
self._cancel_pending_requests()
File "/usr/local/lib/python3.12/site-packages/aiohomekit/controller/ip/connection.py", line 162, in _cancel_pending_requests
result.set_exception(AccessoryDisconnectedError("Connection closed"))
asyncio.exceptions.InvalidStateError: invalid state
Additional information
Might be related to :
https://github.com/home-assistant/core/commit/725e2f16f5ee341db04bc0df1e16aba99e7b864d
or / and
https://github.com/home-assistant/core/commit/a23b063922454bdd386dc7ffddd1a4529fc608eb