- alias: 'Sliding door left open'
initial_state: true
trigger:
platform: state
entity_id: binary_sensor.sliding_back_door
to: 'on'
action:
- service: notify.alexa_media
data:
target:
- media_player.everywhere
#title: "My title for Echo show"
data:
type: announce
#method: all
message: "Sliding door is open"
It does not have to be an input boolean. It can be a binary sensor.
alert:
sliding_door:
name: Sliding door is open
message: Sliding door is open
done_message: Sliding door is closed
entity_id: binary_sensor.sliding_back_door
state: 'on'
repeat: 30
can_acknowledge: true
skip_first: false
notifiers:
- notify.alexa_media
Hi David, did you work this out in the end? I am trying to do something similar with my Alexas (repeat the action of alerting that something has happened)?