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?