jazzyisj / home-assistant-config

My Home Assistant configuration.
67 stars 10 forks source link

Chromecast v1 - White Screen #72

Open jazzyisj opened 10 months ago

jazzyisj commented 10 months ago

Chromecast v1 (office chromecast) not working with cast.show_lovelace_view

2023-08-19 14:55:08.785 WARNING (SyncWorker_4) [pychromecast.controllers] _connect_hass failed for https://82l1mjsgl3dp23jw4nd1sh0n7ykww05d.ui.nabu.casa
2023-08-19 14:55:08.790 ERROR (SyncWorker_4) [homeassistant.util.logging] Exception in _handle_signal_show_view when dispatching 'cast_show_view': (<pychromecast.controllers.homeassistant.HomeAssistantController object at 0xffff542a2550>, 'media_player.office_chromecast', 'charlie-crate-camera', 'lovelace')
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 967, in _handle_signal_show_view
    self._hass_cast_controller.show_lovelace_view(view_path, url_path)
  File "/usr/local/lib/python3.11/site-packages/pychromecast/controllers/homeassistant.py", line 128, in show_lovelace_view
    self._send_connected_message(
  File "/usr/local/lib/python3.11/site-packages/pychromecast/controllers/homeassistant.py", line 145, in _send_connected_message
    self._connect_hass(
  File "/usr/local/lib/python3.11/site-packages/pychromecast/controllers/homeassistant.py", line 107, in _connect_hass
    raise PyChromecastError()  # pylint: disable=broad-exception-raised
    ^^^^^^^^^^^^^^^^^^^^^^^^^
pychromecast.error.PyChromecastError