ChromeCast of Dashboard Stopped Working 2024.10.0
The problem
Since updating to 2024.10.0 I am no longer able to cash lovelace dashboards to a chromecast device. I receive the following error, which I have never received in the past.
WARNING (SyncWorker_22) [pychromecast.controllers] _connect_hass failed for https://xxxxxx.ui.nabu.casa
ERROR (SyncWorker_22) [homeassistant.util.logging] Exception in _handle_signal_show_view when dispatching 'cast_show_view': ({'hass_url': 'https://xxxxxx.ui.nabu.casa', 'hass_uuid': 'xxxxxx', 'client_id': None, 'refresh_token': 'xxxxxx'}, 'media_player.google_cast', 'loading', 'dashboard')
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 1031, in _handle_signal_show_view
self._hass_cast_controller.show_lovelace_view(view_path, url_path)
File "/usr/local/lib/python3.12/site-packages/pychromecast/controllers/homeassistant.py", line 195, in show_lovelace_view
self._send_connected_message(
File "/usr/local/lib/python3.12/site-packages/pychromecast/controllers/homeassistant.py", line 221, in _send_connected_message
self._connect_hass(
File "/usr/local/lib/python3.12/site-packages/pychromecast/controllers/homeassistant.py", line 166, in _connect_hass
raise PyChromecastError() # pylint: disable=broad-exception-raised
^^^^^^^^^^^^^^^^^^^^^^^^^
pychromecast.error.PyChromecastError
What version of Home Assistant Core has the issue?
2024.10.0
What was the last working version of Home Assistant Core?
2024.9.3
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
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration (cast) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of cast can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign castRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
cast documentation cast source (message by IssueLinks)
Yes indeed. Same problem here…. Can’t play dashboard on google hub anymore. Returned to the previous version….
Same here
Following
Same here! It sends the casting using a script where perform the service call. This script called by automation.
During some tests, I saw that if I run the dashboard casting manually it works, instead if called via automation, it doesn't work Bye
Hello.
Yes indeed. I also did those tests myself. Same thing happened doing so.
JS.
Le jeu. 3 oct. 2024 à 21:26, lepo80 @.***> a écrit :
Same here! It sends the casting using a script where perform the service call. This script called by automation.
During some tests, I saw that if I run the dashboard casting manually it works, instead if called via automation, it doesn't work Bye
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/127418#issuecomment-2392167294, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEH4FSYPOSITTY63VPL74TZZWK5RAVCNFSM6AAAAABPJSJQDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSGE3DOMRZGQ . You are receiving this because you commented.Message ID: @.***>
Getting similar issues with any casting. I have posted here .. https://github.com/home-assistant/core/issues/127099#issuecomment-2393237956
Same here :(
Solved with 2024.10.1
Fixed in 2024.10.1
Confirmed, and thank you!
Yes… Also ok for me… Many thanks for the quick solution.
Le sam. 5 oct. 2024 à 03:35, jhemak @.***> a écrit :
Confirmed, and thank you!
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/127418#issuecomment-2394852166, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEH4FQIAHTLFAII7OE5U2LZZ467VAVCNFSM6AAAAABPJSJQDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUHA2TEMJWGY . You are receiving this because you commented.Message ID: @.***>
Just noticed that it is still not possible to use chrome cast média into an automatisation.
Le sam. 5 oct. 2024 à 15:14, Jean Sacré @.***> a écrit :
Yes… Also ok for me… Many thanks for the quick solution.
Le sam. 5 oct. 2024 à 03:35, jhemak @.***> a écrit :
Confirmed, and thank you!
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/127418#issuecomment-2394852166, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEH4FQIAHTLFAII7OE5U2LZZ467VAVCNFSM6AAAAABPJSJQDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUHA2TEMJWGY . You are receiving this because you commented.Message ID: @.***>
Hello Joost.
Just noticed that when making an automatisation it’s still not possible to use chrome cast média. It says that the visual editor can not take that in charge because the key is not reachable.
Regards.
JS.
Le ven. 4 oct. 2024 à 23:06, Joost Lekkerkerker @.***> a écrit :
Fixed in 2024.10.1
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/127418#issuecomment-2394613056, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEH4FUG4HJHGFRFAC4YR23ZZ37MHAVCNFSM6AAAAABPJSJQDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUGYYTGMBVGY . You are receiving this because you commented.Message ID: @.***>
Indeed still not working in an automation