Got it !!! i think. Now testing.
media_player.turn_off <- to turn off
after that its working again
Got it !!! i think. Now testing.
media_player.turn_off <- to turn off
after that its working again
Its working.
@RyanEwen thanks for the help.
To let it work:
Iām having the same issue so thanks for working on this, everyone.
Question: I have never signed into https://cast.home-assistant.io but was able to get a few of my views to show up on my Google Hub via cast. Is signing in a necessary step?
My picture cards is also not showing up, even if they are at the default_view view. Works on the computer but if i cast it to my nest, the other cards show up, but the picture Glance-card and the Picture Cards is totally goneā¦
Camera, picture and some custom cards are known not to work from memory.
There has to be something else thatās preventing this from working for me. I signed out of the Google Chrome web interface, restarted HA, called a media_player.turn_off service and when I call the cast.show_lovelace_view it still hangs on the āConnectedā screen. There are no errors in the log, it just fails to pick the view. I give up until the devs provide a fix. It is just too finicky at this point.
alias: castbabies
sequence:
- data:
entity_id: media_player.vizeo
view_path: default_view
service: cast.show_lovelace_view
I use duckdns; port 8123 and 443 are forwarded. Idk if that helps anyone. I also logged in with the online tool first, closed the tab (didnāt log out), then in chrome I stopped the device from casting and setup a toggle button for the script which works from lovelace.
Hope this helps someone.
Welcome to the forum, @zensunset!
Thanks for the input, however, I think everyone is able to cast the default_view. The issue is that the service doesnāt work for user-created views.
Itās not super clear but the problem is just unclear documentation.
I tried to do this with the cast.show_lovelace_view
service and it did not work. I then went and authorized access through https://cast.home-assistant.io/ and was able to cast the views without issues. I then started poking around to better understand the view_path
attribute. It turns out I had not updated my view idās to view paths. This was probably something I missed in the migration to lovelace. So I just changed id
to path
in my config and now the cast command works as expected.
I tried to edit the docs but Iām a github noob. Help if you can: https://github.com/home-assistant/home-assistant.io/pull/11181
It seems that the lovelace GUI editor is using path
under the hood but itās still not working as expected for me:
ACTUALLY
I hadnāt tried this since updating HA to 101ā¦ it seems to be working at the moment
I still have the same symptons a few of us isolated at the start of the thread:
Does anyone know if there is actually an active/dedicated issue raised for this on Github or if this is actually on the devs radar? How can we confirm?
Iāve seen this issue that is open:
Yes, Iāve commented on that one. https://github.com/home-assistant/home-assistant/issues/26758#issuecomment-533834408
But I think itās a different issue?
So Iām still not sure there is a open issue for this?
Iāve raised an issue. Could few of you jump on and confirm you have the same issue?
Cheers.
Done and same issue here on 0.103.4.
Still no fix
Can people confirm that the Lovelace path are still not working???
Itās annoying however, in that case Iām just going to edit the āstatesā views rather than the ālovelaceā views and that will give me what I need.
If it helps anybody, the ācast.show_lovelace_viewā seems to be able to recognise the names of all my āgroupā (non-lovelace) view names as shown below (from the configuration.yaml file).
The service should be called ācast.show_states_viewā!!!
Never got it to work properly. I try it every release hoping devs actually fixed it butā¦nope
I notice that immediately after rebooting Home Assistant it casts Lovelace ā0ā number views, but after a few minutes it revert to the States ā0ā number views. Itās very unreliable however, it works one minute then not longer recognises the state path, then later it works again!!! Too frustating!!!
Definitely a bug somewhere in the Cast Lovelace code. I hope someone fixes it, cause Lovelace is so much nicer than States views.
Itās annoying that lovelace views canāt be displayed reliably, for now use the deprecated STATES views as an interim solution.
Details on how to configure STATES views here: https://www.home-assistant.io/integrations/group/
Itās not longer unreliable for me, it refuses to work 100% of the time now. A few versions ago, 1 time out of 5 Iād get an error, now it just doesnāt work at all.
Itās a shame as I was really excited about this feature, but this issue doesnāt seem to be getting any developer focus at all.