Hello all.
I have a problem with an automation that does not trigger when supposed to.
The automation should be sending a sms to my phone + playing a sound/message on two of my Google Minis when a person leaves a spesific zone.
The function works perfect when I trigger the automation manually, but not when the actual person leaves the zone.
Can someone please review the automation below and point out what might be wrong?
PS: The automation is setup with GUI.
- id: AUTOMATION ID (HIDDEN)
alias: Person leaving zone
trigger:
- platform: zone
entity_id: device_tracker.xxxxxx
event: leave
zone: zone.zonex
action:
- service: notify.mobile_app_my_mobile
data:
message: Person leaving zone
- service: media_player.volume_set
target:
device_id:
- Deviceid mini 1
- Deviceid mini 1
data:
volume_level: 1
- service: tts.google_translate_say
data:
entity_id: Deviceid mini 1
message: Person leving zone!
mode: single
max: 10
Thanks in advance!
Best regards,
Kjell Inge Sandvik
Norway