I’m using 2026.3.1 which is install on Proxmox VM. My automation to open my garage door when I get close to my house doesn’t always work. The automation uses the activity sensor from the iphone to determine that I’m in the car driving and not just out for a walk. The activity sensor doesn’t always work reliably and I’m looking for an alternative. If the companion app for my iPhone 16Pro on IOS 18.6.2 was able to let home assistant know I’m using carplay that would be great. Unfortunately I’ve been unable to find or turn on that sensor. Any ideas would be appreciated or alternatives. Here is my yaml
alias: Auto-open Garage on Approach or Arrival
description: Open the garage when approaching or arriving home by car (6am–midnight)
triggers:
- entity_id: device_tracker.my_names_iphone
zone: zone.garage_approach
event: enter
trigger: zone
enabled: true
- entity_id: device_tracker.wife_names_iphone
zone: zone.garage_approach
event: enter
trigger: zone
enabled: true
- entity_id: device_tracker.my_names_iphone
zone: zone.home
event: enter
trigger: zone
- entity_id: device_tracker.wife_names_iphone
zone: zone.home
event: enter
trigger: zone
conditions:
- condition: time
after: "06:00:00"
before: "23:59:59"
- condition: state
entity_id: cover.garage_door
state: closed
- condition: or
conditions:
- condition: state
entity_id: sensor.my_names_iphone_activity
state: Automotive
- condition: state
entity_id: sensor.wife_names_iphone_activity
state: Automotive
- condition: state
entity_id: input_boolean.automation_overide
state: "off"
actions:
- data:
title: Arriving Home
message: Garage Door opening in 10 seconds
action: notify.mobile_app_my_names_iphone
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
enabled: false
- target:
entity_id: cover.garage_door
action: cover.open_cover
mode: queued