Alexa actionable notifications

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?

Are you using alexa media player custom integration?

No, do I need to?

I’m using:

alexa_device: media_player.lounge_echo_flex

when calling the script, but HA won’t know what lounge_echo_flex is, I figure.

In the Alexa App it’s called ‘Lounge Echo Flex’

Man you are all sorts of confusing. On one hand you say you don’t have the device, on the other you say it has an entity_id? How is that possible?

Is the echo media player showing up in home assistant through the custom:alexa media player integration?

If your answer to that is no, then you need to use that integration. The first line of the guide that you are following state:

Thank you.That seems likely to be the issue. I’ll give that a try.

I appreciate your time.