Skip to content

Platform does not not generate unique IDs - HomeAssistant 2025.04 #46

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

Open
foobar270 opened this issue Apr 4, 2025 · 4 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@foobar270
Copy link

No new data is being transferred. Lots of issues recorded

Logger: homeassistant.components.sensor
Quelle: helpers/entity_platform.py:816
Integration: Sensor (Dokumentation, Probleme)
Erstmals aufgetreten: 07:25:20 (1760 Vorkommnisse)
Zuletzt protokolliert: 10:08:46

Platform poollab does not generate unique IDs. ID 21806_account1_pl_chlorine_total already exists - ignoring sensor.XXX_pool_XXX_pl_chlorine_total
Platform poollab does not generate unique IDs. ID 21806_account1_pl_chlorine_free already exists - ignoring sensor.XXX_pool_XXX__pl_chlorine_free
Platform poollab does not generate unique IDs. ID 21806_account1_pl_ph already exists - ignoring sensor.XXX_pool_XXX_pl_ph
Platform poollab does not generate unique IDs. ID 21806_account1_pl_cyanuric_acid already exists - ignoring sensor.XXX_pool_XXX_pl_cyanuric_acid
Platform poollab does not generate unique IDs. ID 21806_account1_pl_t_alka already exists - ignoring sensor.XXX_pool_XXX_pl_t_alka

@foobar270 foobar270 changed the title Platform doesn not generate unique IDs - HomeAssistent 2025.04 Platform does not not generate unique IDs - HomeAssistent 2025.04 Apr 4, 2025
@dala318
Copy link
Owner

dala318 commented Apr 4, 2025

Ok ,so now it's a real problem, was noticed in #42 (comment) once I fixed the other error but the integration still seemed to work. Have to take look at it but likely don't have time this weekend.

@dala318 dala318 changed the title Platform does not not generate unique IDs - HomeAssistent 2025.04 Platform does not not generate unique IDs - HomeAssistant 2025.04 Apr 15, 2025
@dala318
Copy link
Owner

dala318 commented Apr 24, 2025

Is this a real problem?
I do get these errors printed on every reconfigure of integration but entities still seem to be created and work as expected.
I stil intend to try to figure out why this happens, but right now I have no good clue how to fix. The entities do get a unique id as far as I can see.

If anyone has any good idea how to fix, please provide a PR or code-snippet!

@dala318 dala318 added bug Something isn't working help wanted Extra attention is needed labels Apr 24, 2025
@foobar270
Copy link
Author

I saw the update of the integration and just did the upgrade. Still got an error that a migration wasn't possible and I decided to delete the entity. Then I created a new entity and now it works again.
All a bit odd - but thanks for the effort.

@dala318
Copy link
Owner

dala318 commented Apr 24, 2025

Ok, good to hear.
Let's keep the issue open until I or someone else find a way to fix properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants