ekutner / home-connect-hass

Alternative (and improved) Home Connect integration for Home Assistant
MIT License
549 stars 54 forks source link

Many 'does not generate unique IDs' at startup. #163

Closed mark007 closed 1 year ago

mark007 commented 1 year ago

Describe the bug

When my HA instance starts, I get 6 errors from the home_connect_alt integration, all relating to the fact that it does not generate unique ids. Is this normal or would it require a fix?

Version of the custom_component

Latest as of today.

Configuration


I simply have my client id and secret keys.

home_connect_alt:
  client_id: xxx
  client_secret: xxx

Debug log

Platform home_connect_alt does not generate unique IDs. ID homeconnect_status already exists - ignoring sensor.home_connect_status
Platform home_connect_alt does not generate unique IDs. ID xxx_programs is already used by select.xxx_programs - ignoring home_connect.xxx_programs
ekutner commented 1 year ago

Please attach the debug log

mark007 commented 1 year ago

log.txt Attaching debug log. I filtered out other log entries, only included any that had the string 'home_connect' in them.

Thanks a lot.

ekutner commented 1 year ago

It's hard to tell from the partial log but it looks like you have the same dishwasher registered twice with Home Connect. I have no idea how that can happen but I see that the integration is loading twice, which means it got it from the HC API twice. To confirm that please add log_mode: 7 to the home_connect_alt section of configuration.,yaml and upload the FULL log. In the mean time I suggest you try de-registering your appliance from Home Connect then make sure the integration doesn't see it and then re-register it. Hopefully that would resolve it.

mark007 commented 1 year ago

You are right, I could see in my HA integrations there were two instances of the integration for home connect alt. Thanks for the support. Maybe there's some way to prevent this from occuring for others.