home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.42k stars 30.31k forks source link

ChromeCast of Dashboard Stopped Working 2024.10.0 #127418

Closed jhemak closed 1 week ago

jhemak commented 1 week ago

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

home-assistant[bot] commented 1 week ago

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 close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign cast` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove 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)

Fatalmose commented 1 week ago

Yes indeed. Same problem here…. Can’t play dashboard on google hub anymore. Returned to the previous version….

blieven1 commented 1 week ago

Same here

smarthomefamilyverrips commented 1 week ago

Following

lepo80 commented 1 week ago

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

Fatalmose commented 1 week ago

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: @.***>

Lanstrom commented 1 week ago

Getting similar issues with any casting. I have posted here .. https://github.com/home-assistant/core/issues/127099#issuecomment-2393237956

Svanto1963 commented 1 week ago

Same here :(

lepo80 commented 1 week ago

Solved with 2024.10.1

joostlek commented 1 week ago

Fixed in 2024.10.1

jhemak commented 1 week ago

Confirmed, and thank you!

Fatalmose commented 6 days ago

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: @.***>

Fatalmose commented 6 days ago

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: @.***>

Fatalmose commented 6 days ago

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: @.***>

blieven1 commented 4 days ago

Indeed still not working in an automation