HI.
I have struggled with alerts, getting it to send a ntificationt when may garage doors have beenopen for a while. I have finally got it work with sending a notification to my phone. However, I would like it to send a notification to my Alexa speakers too.
I have no problem getting notifications to the alexa speakers when it happens in an automation, but I’m not able to do it an alert.
Here’s my code in alerts.yaml:
garage_door:
name: Garage is open
done_message: Garage is closed
entity_id: sensor.garagdedoor_position
state: 'open'
repeat: 5
can_acknowledge: true
skip_first: true
notifiers:
- mobile_app_sm_n950f
Here’s my code when sending a notification from automation:
action:
- service: notify.alexa_media
data:
target:
- media_player.jorn_s_echo_show
data:
type: announce
message: You got visitors
- service: notify.mobile_app_sm_n950f
data:
message: You got visitors
Anybody out here that are able to help me adapt til to the alert routine?
Thanks in advance