alias: Start YouTube op Bravia
sequence:
- service: media_player.play_media
data:
entity_id: media_player.bravia_2
media_content_type: cast
media_content_id: >
{
"app_name": "youtube",
"media_id": "dQw4w9WgXcQ"
}
mode: single
I am trying to cast a youtube video to a mediaplayer but I can get it to work when I try it like this i get: Invalid media type: cast but this is how they describe it in the docs.
https://www.home-assistant.io/integrations/cast/#youtube
What am I doing wrong?