core icon indicating copy to clipboard operation
core copied to clipboard

ChromeCast of Dashboard Stopped Working 2024.10.0

Open jhemak opened this issue 1 year ago • 7 comments

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

jhemak avatar Oct 03 '24 11:10 jhemak

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)

home-assistant[bot] avatar Oct 03 '24 11:10 home-assistant[bot]

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

Fatalmose avatar Oct 03 '24 11:10 Fatalmose

Same here

blieven1 avatar Oct 03 '24 18:10 blieven1

Following

smarthomefamilyverrips avatar Oct 03 '24 19:10 smarthomefamilyverrips

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

lepo80 avatar Oct 03 '24 19:10 lepo80

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

Fatalmose avatar Oct 03 '24 20:10 Fatalmose

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

Lanstrom avatar Oct 04 '24 09:10 Lanstrom

Same here :(

Svanto1963 avatar Oct 04 '24 15:10 Svanto1963

Solved with 2024.10.1

lepo80 avatar Oct 04 '24 20:10 lepo80

Fixed in 2024.10.1

joostlek avatar Oct 04 '24 21:10 joostlek

Confirmed, and thank you!

jhemak avatar Oct 05 '24 01:10 jhemak

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 avatar Oct 05 '24 13:10 Fatalmose

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 avatar Oct 05 '24 15:10 Fatalmose

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

Fatalmose avatar Oct 05 '24 15:10 Fatalmose

Indeed still not working in an automation

blieven1 avatar Oct 08 '24 07:10 blieven1