-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Fix chromecast re-connection issue #16732
Conversation
Some local test logs for reference, for quick debugging, reconnection params changed to CONNECTION_RETRY = 1
CONNECTION_RETRY_WAIT = 1
CONNECTION_TIMEOUT = 3 HA startup with chromecast offline, no blocking
Plug on chromecast, HA discovered device
Plug off chromecast, HA received DISCONNECTED event
Plug on again
|
I've pushed it to my environment, I'll let you know if I see something out of the ordinary with my debugs compared to yours. |
I am still having Chromecast issues says unavailable have updated HA to 0.78.3. It starts working again until I reboot HA. |
I am also still having issues. My Chromcast seems to disconnect at night
|
Same issue as @kiwinol |
This change seems to make my google home minis disconnect and become unavailable overnight. 👎 |
Same here. I'm on 0.78.2, and my cast devices remain at 'unavailable' after they are offline for updates. |
Please keep the feedback in #16686. |
Description:
Since change of #16471, the cast status listener will receive CONNECTION_STATUS_DISCONNECTED status change call back. We should do disconnection clean up in the call back to allow re-connection logic works
Related issue (if applicable): fixes #16686
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for
configuration.yaml
(if applicable):Checklist:
tox
. Your PR cannot be merged unless tests pass