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
Google Cast Integration doesn't detect paused state when cast from HA #70836
Comments
cast documentation |
Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration ( |
Let me know if there's anything you want me to test/try |
Home Assistant relies on the chrome cast device signalling that it's been paused. Please enable the logs below, then share a log file where the problem is reproduced. logger:
default: info
logs:
homeassistant.components.cast: debug
homeassistant.components.cast.media_player: debug
pychromecast: debug
pychromecast.dial: debug
pychromecast.discovery: info
pychromecast.controllers.media: debug
pychromecast.socket_client: debug
homeassistant.components.zeroconf: debug
zeroconf: info |
Added log to initial ticket, although can't see any media status for any of the cast devices, just CONNECTING/CONNECTED? The device in question is I can try and grab another log when streaming from a different source? Or when actually dismissing the cast completely? |
I have a Google Nest Hub v2 and can confirm that Home Assistant does not show the cast Lovelace/dashboard as paused when you swipe away. |
not sure if related but i see more differences between v1 and v2, streaming (rtsp) cameras via lovelace is only working on V1s and not V2s |
Bump, @emontnemery if you need a Nest to test I'm happy to send you one. |
Also from what I understand, this uses the Cloud service to cast to these devices, is there a way to test casting directly from HA? |
Just tested this with a Google Hub Max, same issue. Not sure what other info you guys need? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This is still very much an issue |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This is still an issue |
Agreed that this is still an issue. If this worked it would be so much easier to make the dashboards more reliable. |
This has gotten better for me. I need to check if HA is getting state updates for me now. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This is still an issue on the latest version |
Confirming I'm still seeing this issue as well. @emontnemery I added the log lines you suggested above and when I dismiss the UI on the screen, nothing shows up in the logs. Interestingly, even after the UI has been dismissed, the regular discovery log lines appear to show it still casting,
Happy to provide more detailed log lines or anything else that might help debug. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Not fixed yet. |
|
The problem
HomeAssistant doesn't detect when something cast to a Google Nest Hub (gen 2) as paused when initiated from Home Assistant.
Replicate:
Expected behavior:
Not sure why but when casting from HA, it doesn't detect paused state (see screenshot) - is this intended behavior?
I attached the affected script I'm using, but affects anything else that is relying on state not being "playing" when it's not.
What version of Home Assistant Core has the issue?
core-2022.4.7
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
Google Cast
Link to integration documentation on our website
https://www.home-assistant.io/integrations/cast/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
ha.logs.log
Additional information
No response
The text was updated successfully, but these errors were encountered: