I’ve been following this guide to set up Amazon Alexa actionable notifications and it’s really straightforward to configure and test.
However, where I’m stuck is that when including in automations, the script calls for the alexa_device to be specified (for the notification and response).
########### Alexa Scripts ###########
activate_alexa_actionable_notification:
description: 'Activates an actionable notification on a specific echo device'
fields:
text:
description: 'The text you would like alexa to speak.'
event_id:
description: 'Correlation ID for event responses'
alexa_device:
description: 'Alexa device you want to trigger'
sequence:
- service: input_text.set_value
data_template:
entity_id: input_text.alexa_actionable_notification
value: '{"text": "{{ text }}", "event": "{{ event_id }}"}'
- service: media_player.play_media
data_template:
entity_id: "{{ alexa_device }}"
media_content_type: skill
media_content_id: <amzn1.ask.skill.xxxxxxxxxxxxxxxxxxxxxx>
I have just one Echo Flex at the moment, for evaluating, and it’s not currently showing in HA, like my Google Homes do.
How do I add it to HA as a device?