Alexa devices - notify.send_message repeat twice

Hello.

I have a simple automation, involving a Shelly 1 and an Alexa Echo Dot 3.
The Shelly ic is controlled by the doorbell: when the doorbell rings, I want that Alexa Echo Dot warn me with a message.

So I wrote the following code:

- id: '1765061478039'
  alias: Campanello
  description: ''
  triggers:
  - trigger: state
    entity_id:
    - switch.shelly1_campanello
    from:
    - 'off'
    to:
    - 'on'
  conditions: []
  actions:
  - action: notify.send_message
    metadata: {}
    data:
      message: there's someone at the door
      device_id: 0713e954c3136f7c9394c096d3220c30
 

It works fine, but Alexa echo repeats the message twice ( “there’s someone at the door - there’s someone at the door”) …

What’s the issue? How can I get the message announced just one time?

There’s a known bug for this.
Check in issues if you want to know what it is or search here.

For anyone else that has this problem, I found the answer on Discord. I had selected an Echo device to play the message instead of an entity. There are 2 entities for each device - announce and speak. If you select the device as the target it will play twice.