Duplicate notification on single trigger

Hello,

After setting up some device_trackers (using gpslogger) wanted to have some automated alerts sent whenever my son is heading home from school (with estimated time using google_travel_time).

It does indeed send out a telegram alert, and it plays on the livingroom google home correctly.
But… it does it twice (with a few minutes in between) and I would only expect it to notify once. I can’t figure out why it does is always twice…

The automation itself:

alias: "Going home from school"
trigger:
  - platform: numeric_state
    entity_id: proximity.nicky_home
    value_template: '{{ states.proximity.nicky_home.state | float }}'
    below: 1500
  - platform: zone
    entity_id: device_tracker.nicky_mobile
    zone: zone.davinci
    event: leave
condition:
  condition: and
  conditions:
  - condition: time
    after: '12:00:00'
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
  - condition: template
    value_template: '{{ states.proximity.nicky_home.attributes.dir_of_travel == "towards" }}'
action:
  - service: notify.nico
    data:
      message: 'Nicky komt thuis om {{ ( as_timestamp(now()) + (states("sensor.nicky_time_to_home") | int)  * 60 )  | timestamp_custom("%H:%M") }}.'
  - service: tts.google_say
    data_template:
      entity_id: media_player.googlehome2007
      message: >
        Nicky is onderweg naar huis en komt over ongeveer {{states('sensor.nicky_time_to_home')}} minuten thuis.
      language: 'nl'

The sensor using the device_tracker:

- platform: google_travel_time
  api_key: !secret google_distance_key
  destination: zone.home
  travel_mode: bicycling
  name: nicky time to home
  friendly_name: Nicky's tijd tot thuis
  origin: device_tracker.nicky_mobile

Can anyone spot something obvious mistake that I’ve made?

Nico

I think it triggers twice because the automation has two triggers, so that’s what you’ve asked it to do.