Attempt to correct life360 automation not working

Sometimes, for example if my phone is off OR if life360 is having one of its wobbles, the Bluetooth device tracker becomes much more reliable a measure of whether or not I’m home. I have tried to create an automation to ‘correct’ the life360 device tracker but it’s not working. Can anyone see why it didn’t fire this morning? My phone has been off for hours but this automation didn’t work.

I’m slightly wondering if it’s due to the capitalisation on ‘home’. Should it be ‘Home’ ?

  - alias: 'Override life360 steve opposite'
    initial_state: 'on'
    trigger:
      - platform: template
        value_template: '{{ (states.device_tracker.life360_steve.state == "home" and ((as_timestamp(states.sensor.date.state + " " + states.sensor.time.state) - as_timestamp(states.device_tracker.life360_steve.last_updated)) / 60 ) | int > 15) }}'
    condition:
      - condition: state
        entity_id: sensor.steve_bt
        state : 'not_home'
#       LIFE360 THINKS steve'S HOME,WE HAVEN'T HAD A LIFE360 UPDATE FOR OVER 15 MINUTES
      - condition: time
        after: '08:00:00'
        before: '22:00:00'
    action:
      - service: device_tracker.see
        data:
          dev_id: life360_steve
          location_name: away