I have two scripts… they both announce the arrival of the person that the device tracker (using Life360) is configured for.
The problem is that one fires relatively quickly the other is always delayed… like 5min…
They both reside in the same automation file … same script file which uses the same group file that holds all household echos…
How can this be?
- id: '1565971368576'
alias: Announce Shannons Home
trigger:
- entity_id: device_tracker.life360_shannonXXXXX
from: not_home
platform: state
to: home
condition: []
action:
- data: {}
service: script.shannon_home_announcment
- id: '1565972702040'
alias: Announce Aarons Home
trigger:
- entity_id: device_tracker.life360_aaron_XXXXX
from: not_home
platform: state
to: home
condition: []
action:
- service: script.aaron_home_announcment
Known Device file
life360_aaron_pitts:
hide_if_away: false
icon:
mac:
name: Aaron
picture: https://www.life360.com/img/user_images/8dee7284-f002-46d9-ac90-5c856a683480/7ad81322-4f71-4181-b957-d02b73db4311.png?fd=2
track: true
life360_poncho:
hide_if_away: false
icon:
mac:
name: Devin
picture: https://www.life360.com/img/user_images/dde4132b-bb83-4b47-8cdf-40defa0fee42/f5ad6637-1acf-4ecc-85bb-b394d97e87a9.png?fd=2
track: true
life360_shannon_roux_pitts:
hide_if_away: false
icon:
mac:
name: Shannon
picture: https://www.life360.com/img/user_images/a0728148-475e-4aea-8854-f80e9596e499/9253b290-8d2b-4351-8cd3-f9de3ca31130.jpg?fd=2
track: true
Script thas called
shannon_home_announcment:
alias: Announce Shannon is home
sequence:
- data:
data:
method: speak
type: announce
message: Shannon has arrived home.
target: group.wenogotta_echos
service: notify.alexa_media
aaron_home_announcment:
alias: Announce Aaron is home
sequence:
- data:
data:
method: speak
type: announce
message: Aaron has arrived home. Thats right, daddy's home
target: group.wenogotta_echos
service: notify.alexa_media