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

Integration creating duplicate entities #54

Open
ejpenney opened this issue Jan 17, 2024 · 1 comment
Open

Integration creating duplicate entities #54

ejpenney opened this issue Jan 17, 2024 · 1 comment

Comments

@ejpenney
Copy link
Contributor

I have no idea how to reproduce this, but every time I reboot Home Assistant this integration has doubled entities (from 9 to 18). Half of them are "Unavailable", the other half have "_2" on their entity IDs. If I reload the integration, sometimes they'll swap position, the originals will work and the _2's will be unavailable. I end up having to delete the integration and re-configure.

image

The only thing I could think that might be unique in my configuration is the Ozone and PM10 entities are unavailable on setup, therefore I mark them disabled. In my environment, unavailable means broken, and I have templates searching for this, as this has and will never work, disabled is more appropriate.

I don't specify a name, and am using °F... Debug logs attached (token and precise location redacted).

home-assistant_worlds_air_quality_index_2024-01-17T22-13-02.719Z_REDACTED.log

@ejpenney
Copy link
Contributor Author

I'll note that I decided to pin my configuration to one station, and this issue seems to have gone away. Looks like it's picking different stations every time it reloads... There's definitely a bug here, but at least my issue is "worked around".

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

No branches or pull requests

1 participant