-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Balboa Spa creating duplicate entities #64101
Comments
balboa documentation |
Hey there @garbled1, mind taking a look at this issue as it has been labeled with an integration ( |
Are there any balboa log entries at all? I've not seen this happen with mine.. |
Yes, all kinds. I guess I should have posted them. I've got them filtered out of the log right now. I think most of them are related to when the Balboa controller is not online (because it cycles). Give me a day or two to leave the system running and I'll pick out all the log entries and post them. |
I've been watching now for a few days and this has not happened again. I had to delete those unknown entities half a dozen times before I posted this issue... ugh. I'm wondering if maybe it had something to do with your custom balboa integration I had installed before the official one was released? Anyway, closing for now. If it happens again I'll try to catch the log entries and I'll reopen it. |
Sorry, I had to reopen this issue. Happened again. I had both pybalboa.balboa and homeassistant.components.balboa.const set do debug this time though.
|
Just an update as of v2022.4.1 - this is still happening. It even occasionally creates another set of entities as well as the unknown ones. Absolutely nothing in the logs other than what I've previously posted. Again, I believe it happens when HA restarts and the Balboa WIFI controller is in the 'disconnected' state, but not always. I've tried to trouble shoot it by turning the tub off and it doesn't always happen. |
This appears to happen because the model name is set via a different message than the mac address, but the integration doesn't wait for resolution of the model name before proceeding to create the entities. So most of the time the model message is received in time and gets configured correctly, but occasionally it gets missed and results in an "Unknown" device getting created. See https://github.com/garbled1/pybalboa/blob/master/pybalboa/balboa.py#L525, https://github.com/garbled1/pybalboa/blob/master/pybalboa/balboa.py#L881 and https://github.com/home-assistant/core/blob/dev/homeassistant/components/balboa/__init__.py#L56 |
@natekspencer Thanks for hunting that down! Hopefully it will help resolve the issue (if it can be). I've since switched back to the custom component because my control panel on the tub died and I needed the entities that are not supported by the built in yet (pump switches, light switch). Interesting to note that the duplicate entity issue has never happened with the custom component. @garbled1 - If you decided to look into this I'm more than happy to switch back to the built in to test/provide data if it will help. |
I think this PR may have fixed this issue. I saw the PR in the beta release notes so I reinstalled the core integration to test and so far so good. |
Been monitoring for several days, v2022.6.0 and no issues. Closing. |
The problem
The Balboa integration is creating duplicate entities for both climate and filters. I think it's happening when the Balboa controller is "offline" during a restart.
What version of Home Assistant Core has the issue?
v2012.12.9
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Balboa Spa Client
Link to integration documentation on our website
https://www.home-assistant.io/integrations/balboa/
Example YAML snippet
None.
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: