Skip to content

Conversation

@ivoks
Copy link

@ivoks ivoks commented Jul 31, 2025

With multiple cars, HomeAssistant complains that all cars are using the same uniq_id for entities. This results in most of them being disabled. After looking at the code, it's obvious that only ones working were buttons and switches. For those ha-porscheconnect uses VIN as part of the uniq_id, while for others it's using name.

This patch changes uniq_ids for image, binary_sensor, lock, number and sensor entities to VIN.

This patch does not handle the upgrade procedure, so just applying it will result in double entries in existing deployments. I'm not sure what's the best way to rename existing entries?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant