I want to trigger an alexa routine trough home assistant but can't find a way to.
I've tried Alexa Media Player with a script but gives me an error everytime
"Unable to determine action @ data['sequence'][0]"
This is the script:
script:
radioparadise:
alias: Desligar as luzes
icon: "mdi:play"
sequence:
- service: media_player.play_media
data:
media_content_id: "Desligar as luzes" # Match exactly with Alexa routine name
media_content_type: "routine"
target:
entity_id: media_player.daniel_s_echo_dot
mode: single
https://github.com/alandtse/alexa_media_player/wiki#alexa-routines