Cast youtube music to google home mini

dear all,

i have an issue with a script that is not playing a youtube music song to a google home mini.

here is my script:


alias: playmusic
sequence:
  - data:
      media_content_type: cast
      media_content_id: '{"app_name":"youtube", "media_id": "7AtMwSw9xGE"}'
    service: media_player.play_media
    target:
      device_id: mydeviceid
mode: single

do you have any ideea to this? It works fine on a google hub device but not on the google mini.

thanks

3 Likes

did you ever get this working?