Using My Media for Alexa skill within Homeassistant

Hi. I’m trying to integrate the skill “My Media for Alexa” in HA to be able to listen my music when I wake up in the morning. I’m trying to send a command (as read in the Alexa Media Player integration wiki) but nothing happens. Here the script:

alias: My Media Sveglia Uno
sequence:
  - action: media_player.play_media
    target:
      entity_id: media_player.echo
    data:
      media_content_type: custom
      media_content_id: chiedi a my media di riprodurre playlist sveglia uno
description: ""
icon: mdi:alarm-multiple

I’ve also tried to start an Alexa routine without success:

alias: My Media Sveglia Uno
sequence:
  - action: media_player.play_media
    target:
      entity_id: media_player.echo
    data:
      media_content_type: routine
      media_content_id: mai media sveglia uno
description: ""
icon: mdi:alarm-multiple

Anyone could help please?

Using custom commands that are bilingual can be very frustrating. You can try “sounds like” transliteration, but it doesn’t always work.

When using routine, the value for media_content_id has to match the Routine name in the Alexa app exactly… spaces, punctuation, and capitalization all need to match.

Keep in mind that, while it is useful, AMP is on shaky ground.

Thanks! I’ve modified the script so now capitalization matches but it doesn’t work :confused: