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

Duplicate sensors after disable/enable integration #506

Open
2 tasks done
dala318 opened this issue Oct 31, 2024 · 7 comments
Open
2 tasks done

Duplicate sensors after disable/enable integration #506

dala318 opened this issue Oct 31, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@dala318
Copy link

dala318 commented Oct 31, 2024

Did you read the docs?

  • I read the docs and my question is not answered there.

What happened?

I disabled the integration for a while and after that I enabled it again. Once enabled it popped up as expected and all zones were restored etc. But the sensors for each zone were now duplicated (entity-name appended with a "_2")
config_entry-smart_irrigation-01JBH16P5HARE3FGDP27SMFZ3W.json

How to reproduce

Disable then Enable again

Relevant log output

No response

Which version are you running?

v2024.10.3

Diagnostics file

  • I have attached a diagnostics file

Additional information

No response

@dala318 dala318 added the bug Something isn't working label Oct 31, 2024
@jeroenterheerdt
Copy link
Owner

hi @dala318 thanks for reporting. You're not the first having this issue but I am unable to reproduce it so far. Can you clear your browser cache and let me know if that helps at all?

@jeroenterheerdt
Copy link
Owner

I can now finally reproduce this thanks to your config. Now I "just" need to figure out why this happens...

@jeroenterheerdt
Copy link
Owner

just some logs for myself:

# why does this add the entry twice??
    await hass.config_entries.async_forward_entry_setups(entry, [PLATFORM])

@pedromrg
Copy link

Just FYI happened to me today...

Clicked on Configure the integration to disable the weather service, did that and it broke. :/

@jeroenterheerdt
Copy link
Owner

"broke"? What does that mean? Did you get duplicate sensors as well?

@pedromrg
Copy link

Sorry for the not so precise information.

What I did was reconfigure the integration and un-select weather service
After doing this, the integration shows an error with a ! under HA devices.

Bottom line I have removed everything and reconfigured and it's now working fine.

@jeroenterheerdt
Copy link
Owner

That does not seem to be the same issue as this issue thread.

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

No branches or pull requests

3 participants