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

Homekit: Error doing job: Task exception was never retrieved #81762

Closed
bartgabriels opened this issue Nov 8, 2022 · 2 comments
Closed

Homekit: Error doing job: Task exception was never retrieved #81762

bartgabriels opened this issue Nov 8, 2022 · 2 comments
Assignees

Comments

@bartgabriels
Copy link

The problem

Homekit doesn't sync anymore with HA

Logger: homeassistant
Source: components/homekit/accessories.py:665
First occurred: 06:45:34 (1 occurrences)
Last logged: 06:45:34

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
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 1255 to <service display_name=StatelessProgrammableSwitch unique_id=current_option_changed- chars={'ProgrammableSwitchEvent': None, 'Name': '', 'ServiceLabelIndex': 1}> as it is already in use by: <service display_name=StatelessProgrammableSwitch unique_id=current_option_changed- chars={'ProgrammableSwitchEvent': None, 'Name': 'Current_Option_Changed', 'ServiceLabelIndex': 2}>

What version of Home Assistant Core has the issue?

2022.11.1

What was the last working version of Home Assistant Core?

10.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Homekit

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?

No response

Additional information

Rollback to last known working version didn't fix the issue

@home-assistant
Copy link

home-assistant bot commented Nov 8, 2022

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 8, 2022

duplicate of #81762

@bdraco bdraco closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 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

2 participants