8000 HomeKit fails to start · Issue #82181 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

HomeKit fails to start #82181

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

Closed
brunoamaral opened this issue Nov 16, 2022 · 2 comments
Closed

HomeKit fails to start #82181

brunoamaral opened this issue Nov 16, 2022 · 2 comments
Assignees

Comments

@brunoamaral
Copy link

The problem

After updating and restarting the docker container, the integration stopped working with the error message below.

Logger: homeassistant.config_entries
Source: components/homekit/accessories.py:665
First occurred: 08:03:35 (1 occurrences)
Last logged: 08:03:35

Error setting up entry HASS Bridge:21064 for homekit
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 365, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 341, in async_setup_entry
    await homekit.async_start()
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 778, in async_start
    if not await self._async_create_accessories():
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 940, in _async_create_accessories
    acc = await self._async_create_bridge_accessory(entity_states)
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 929, in _async_create_bridge_accessory
    self.add_bridge_triggers_accessory(device, device_triggers)
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 708, in add_bridge_triggers_accessory
    DeviceTriggerAccessory(
  File "/usr/src/homeassistant/homeassistant/components/homekit/type_triggers.py", line 49, in __init__
    serv_stateless_switch = self.add_preload_service(
  File "/usr/local/lib/python3.10/site-packages/pyhap/accessory.py", line 129, in add_preload_service
    self.add_service(service)
  File "/usr/local/lib/python3.10/site-packages/pyhap/accessory.py", line 151, in add_service
    self.iid_manager.assign(s)
  File "/usr/local/lib/python3.10/site-packages/pyhap/iid_manager.py", line 31, in assign
    iid = self.get_iid_for_obj(obj)
  File "/usr/src/homeassistant/homeassistant/components/homekit/accessories.py", line 665, in get_iid_for_obj
    raise RuntimeError(
RuntimeError: Cannot assign IID 8 to <service display_name=StatelessProgrammableSwitch unique_id=changed_states- chars={'ProgrammableSwitchEvent': None, 'Name': '', 'ServiceLabelIndex': 1}> as it is already in use by: <service display_name=StatelessProgrammableSwitch unique_id=changed_states- chars={'ProgrammableSwitchEvent': None, 'Name': 'Changed_States', 'ServiceLabelIndex': 1}>

What version of Home Assistant Core has the issue?

Home Assistant 2022.11.2

What was the last working version of Home Assistant Core?

Home Assistant 2022.11.0

What type of installation are you running?

Home Assistant Container

Integration causing the issue

HomeKit

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of homekit can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign homekit Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


homekit documentation
homekit source
(message by IssueLinks)

@bdraco
Copy link
Member
bdraco commented Nov 16, 2022

Fixed in 2022.11.3 by #80703

@bdraco bdraco closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants
0