-
-
Notifications
You must be signed in to change notification settings - Fork 28.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
HomeKit - Error When Configuring Device Triggers #81685
Comments
Hey there @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 documentation |
Device triggers still need a lot of work for HomeKit. After I finish fixing #80703 , I'll try to take a look at this one |
Both of these should be significantly less work than the stable ids Unfortunately, end of year means less time to work on homeassistant since my "day job" is much busier |
Originally posted by @bartgabriels in #81762
|
Is there a workaround available? |
Not at this time |
I saw an reference in the new 2022.11.01 but it didn't fix the issue |
2022.11.3 |
The problem
I have previously experimented with device triggers, however the non-static device assignment IDs caused me problems with HomeKit automations changing unexpectedly after HA restarts, so I stopped using them, and found other workarounds using automations and virtual entities. I see this issue was fixed in the 2022.11 release, so I wanted to try them out again.
When I configure the HomeKit integration though the UI and select an one of my Apple TV's as a device trigger in the final Advanced Configuration step of the config, I get an error upon saving.
The part of the error I believe is pertinent is here, while the full error is included below:
RuntimeError: Cannot assign IID 131 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}>
I have looked for an existing entity related to this stateless switch in the HA developer tools, but cannot find one. I also deleted my automations which were triggered by this device in case there was a conflict. I've also tried restarting HA after deselecting and reselecting the device triggers in the UI config without any success. The same error persists.
What version of Home Assistant Core has the issue?
core-2022.11.1
What was the last working version of Home Assistant Core?
No response
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
config_entry-homekit-e0291e9970b140327f7ba89c871e19a7.json (1).txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: