-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Google Home group shows up twice after home assistant has been running for a day #11905
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
Comments
I'm not seeing this behaviour on my system. In fact, not wishing to tempt fate, my chromecast implementation has been working great the last few updates. I still get the occasional error messages in the log for failed to connect or heartbeat timeout but it hasn't affected the actual operation of the devices or the groups. |
I have also seen this behaviour. Ended up with 3 versions of one group and 2 of another. A restart of HA results in a single group being present as expected. Will monitor and report back if this was a one off. |
That's interesting, I don't use discovery at all and just have
in my config, so it's 'discovering' the devices that way rather than being defined one-by-one. How is everybody else's configured? |
@mf-social are you disabling discovery for |
I have no |
good catch, updating the description to include that as well. |
I have not restarted home assistant since creating this bug, today I noticed my second group now shows up twice. |
I'm seeing this on my system. Similar config I wasn't aware the adding just |
Maybe we could leverage the new unique_id feature to fix this bug. Every cast device + cast group reports a UUID, so that could be used for unique_id. I don't have any audio groups myself right now, but looking at this comment it seems like the UUID is unique for every group as well - the only thing that would be good to know is whether the UUID changes when the "elected leader" changes... Could someone with knowledge of pychromecast test that? |
Uh oh!
There was an error while loading. Please reload this page.
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
hass --version
):0.61.1
Python release (
python3 --version
):3.6.3
Component/platform:
media_player/cast
Description of problem:
After home assistant has been running for almost a day I will notice that one of my google home groups shows up under 2 entity ID's and automations stop working on the original one. So if I have
media_player.home_notification
after some time I will also seemedia_player.home_notification_2
show up.Expected:
The media_player cast group should only be identified under 1 entity ID instead of multiple later on
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
My log shows the following errors for the cast platform consistently throughout
2018-01-23 18:02:28 ERROR (Thread-9) [pychromecast.socket_client] Error reading from socket. 2018-01-23 18:02:28 WARNING (Thread-9) [pychromecast.socket_client] Error communicating with socket, resetting connection 2018-01-23 18:02:28 ERROR (Thread-9) [pychromecast.socket_client] Failed to connect, retrying in 5.0s 2018-01-23 19:20:36 WARNING (Thread-5) [pychromecast.socket_client] Heartbeat timeout, resetting connection
Additional info:
The text was updated successfully, but these errors were encountered: