ok, with this works:
entity_id: media_player.gh_kuche
view_path: fussball
dashboard_path: lovelace
but the customer Cards are not show?
ok, with this works:
entity_id: media_player.gh_kuche
view_path: fussball
dashboard_path: lovelace
but the customer Cards are not show?
Not working here but it seems that you need to add the custom cards paths in configuration>Lovelace Dashboard>Resources.
Hi All,
I don’t understand what I’m doing wrong but I receive this message:
"Failed to call service cast/show_lovelace_view. "
I can cast from the browser: https://cast.home-assistant.io/
Please help me
Solution:
Config => General => input and external link.
heyy guys, after several trial and error I found the following:
the cast service will only work if called twice and on the first call with the wrong dashboard_path.
my script:
cast weather:
alias: cast weather
sequence:
- service: cast.show_lovelace_view
data:
dashboard_path: lovelace2
view_path: weather
entity_id: media_player.rigel
- delay: 00:00:05
- service: cast.show_lovelace_view
data:
dashboard_path: lovelace
view_path: weather
entity_id: media_player.rigel
mode: single
icon: mdi:weather-cloudy
note that “lovelace2” does not exist.
also custom cards (from hacs) will not load, returning an error.
edit:
CSS background images are also not loaded.
Footer (graph) in entities card will also not load.
hope this helps someone.
Thank you, you beautiful soul.
This seems to be working for me, too, however, there still is a bug somewhere, right? Casting through https://cast.home-assistant.io/ works right away, but local casting only using daemon’s method.
Any idea on how to make custom cards work?
Can anyone see the cameras? In the pc dashboard they work (motion eye cameras and those with direct rtsp) on the chromecast give an error.
(sorry for my english)
The above works like a charm, the only issue I have now are the built in graphs in HA, don’t appear when casting lovelace to my nest hub max, but besides that, all is great, thanks!
Thanks, this solved it also for me!
I’ve just had the same issue and noticed. Previously this worked, but it has recently stopped working
entity_id: media_player.living_room_tv
dashboard_path: tv
view_path: tv
I’ve updated it to remove dashboard_path: tv and it works every time:
entity_id: media_player.living_room_tv
view_path: tv
I do not get it to work either. Not at all.
I can successfully connect cast.home-assistant.io to my nest hub. But there it ends.
When I do that, the page only offers me to send one single view: “Home”
If I choose that (whatever it might point to) I get the infamous “Unable to find …” message.
No error messages in the HA logs.
The Nest hub is brand new and only just set up today with nothing else but my account and the network connection being added.
Due to the fact that I do not get any further information on where to look/what to do, I’m fairly stuck now.
I can confirm this works for me. I am able to lower the delay down to 2 seconds and it works 90% of the time. The longer the delay the more reliable it will be, however.
This leads me to think that nabu casa is trying to load the dashboard before it’s actually finishing connecting and downloading required information. If you cast manually (using a Cast entity on a dashboard) it will work 100% of the time, simply because you can’t click ‘show’ until after it’s connected. When using a service it does both in the same step.
Hopefully they can fix nabu casa to wait until it’s ready before attempting to load the desired dashboard.
Hi guys, I am having the same issue. Is Home Assistant Cast not working for anyone or are we just the exception?
Anyway, I am going to give @deamon script a shot. But I have a couple of dumb questions. What is “dashboard_path” and “view_path”? I don’t understand them. Are all pages I can see in HA lovelace cards or some other type of cards? I am going to get the family’s google calendar on my Nest Hub Max. I have two “pages” I can view on HA:
https://xxxxxgatan.duckdns.org/lovelace-kalender/default_view
https://xxxxxgatan.duckdns.org/calendar
What is my dashboard_path and view_path for these two?
What is lovelace yaml mode?
/lovelace-kalendar
is the dashboard
default_view
is the view.
I am not sure about the second one, it may be dashboard: /calendar
and view: 0
I am not getting anywhere either, not even with cast.home-assistant.io. I can get connected but it just shows the home assistant and nc logo. Then there is just one option available and that is “Home”, and when I hit that it says “Unable to find …Custom…”
I’ve tried creating an action and just got as far, but it said “Unable to find …kalender” which is the path I gave it.
The lovelace card
title: s
views:
- path: kalender
title: Home
cards:
- type: custom:atomic-calendar-revive
name: kalender
enableModeChange: true
firstDayOfWeek: '1'
maxDaysToShow: '7'
entities:
- entity: calendar.s
- entity: calendar.familjefilm
- entity: calendar.fodelsedagar
- entity: calendar.holidays_in_sweden
- entity: calendar.week_numbers
calShowDescription: true
showLastCalendarWeek: false
disableCalEventLink: false
disableCalLocationLink: false
disableCalLink: false
- type: weather-forecast
entity: weather.s
show_forecast: false
service: cast.show_lovelace_view
data:
entity_id: media_player.nesthubmax3bc2
dashboard_path: lovelace-kalender
view_path: kalender
Anyone have any input on this?