Open felipecrs opened 11 months 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!
(message by CodeOwnersMention)
cast documentation cast source (message by IssueLinks)
FYI on my side query params seems not to be striped out but the dashboard view is not found :
Here is how I call the cast.show_lovelace_view
service :
service: cast.show_lovelace_view
data:
entity_id: media_player.kitchen_google_home
dashboard_path: frigate-cameras
view_path: default_view?frigate-card-action:camera_select=camera.garden_patio
And it's the same problem with media_player.play_media
service :
service: media_player.play_media
data:
entity_id: media_player.kitchen_google_home
media_content_type: lovelace
media_content_id: "frigate-cameras/default_view?frigate-card-action:camera_select=camera.garden_patio"
Note if I remove the ?frigate-card-action:camera_select=camera.garden_patio
part, it works with both services.
@Neonox31 have you tried with 0
instead of default_view
?
@felipecrs Indeed, it seems to work using 0
instead of default_view
, thanks a lot ! But I don't understand why !
But camera selection doesn't occur, so I'm not sure that query params are correctly taken account using 0
😥
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
This is still valid and some feedback would be welcome.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
This is still valid and some feedback would be welcome.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Still valid, tested this week.
The problem
I want to do the following:
I.e. pass a query parameter to the
view_path
, so that the casted page should be:However, apparently the query parameters are stripped out before being sent to the media player. The casted lovelace view behaves as if there was no query param at all.
What version of Home Assistant Core has the issue?
core-2023.8.2
What was the last working version of Home Assistant Core?
No response
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
Refs https://github.com/dermotduffy/frigate-hass-card/issues/1231