Open Garage - Geo-Location

Hello, I am trying to automate my garage door opening and closing depending on my wife’s or my own location and proximity to home. I’ve got the automation working to the point where it’ll send me a notification when me or my wife enters or leaves one of the zones I’m interested in, but doesn’t open/close our garage door. Is this a security feature or something I’m missing? I’ve got a MyQ garage door opener and am using the below config.

- id: 'XXX'
  alias: Geofencing - Me
  description: ''
  trigger:
  - platform: state
    entity_id:
    - person.me
    from: My Work
    to: not_home
    id: leaving-work
  - platform: state
    entity_id:
    - person.me
    id: arriving-work
    from: not_home
    to: My Work
  - platform: state
    entity_id:
    - person.me
    id: leaving-home
    from: home
    to: not_home
  - platform: state
    entity_id:
    - person.me
    id: arriving-home
    from: not_home
    to: home
  condition: []
  action:
  - choose:
    - conditions:
      - condition: trigger
        id: leaving-work
      sequence:
      - service: notify.mobile_app_wife_s_phone
        data:
          message: Hubby left work!
          title: Hubby Left Work
    - conditions:
      - condition: trigger
        id: arriving-work
      sequence:
      - service: notify.mobile_app_wife_s_phone
        data:
          message: Hubby just got to work.
          title: Hubby At Work
    - conditions:
      - condition: trigger
        id: leaving-home
      sequence:
      - service: notify.mobile_app_wife_s_phone
        data:
          message: Hubby just left the house.
          title: Hubby Left Home
      - device_id: XXX
        domain: cover
        entity_id: cover.garage_door
        type: close
    - conditions:
      - condition: trigger
        id: arriving-home
      sequence:
      - service: notify.mobile_app_wife_s_phone
        data:
          message: Hubby's home!
          title: Hubby's Home
      - device_id: XXX
        domain: cover
        entity_id: cover.garage_door
        type: open
  mode: single

Why not use the cover.close_cover service.

Here is mine:

service: cover.close_cover
data: {}
target:  
  device_id: Xxx

Out of interest what are you using as a tracker? I’ve tried this using the companion app on my android phone but can’t get it to reliably report zone changes.

Hey reotto, thanks for the tip. Somehow, some way, my automation just started working out of the blue. I didn’t make any code updates, which is interesting.

If this stops working again I’ll try out your suggestion.

My wife and I are using the HA app on our iPhones. So far I’ve had reliable tracking, no complaints on that.

My wife has an Android as well and her location is intermittent. It was better with Life360 so I may ask her to try that instead.

I also have android. You need to go to the companion app setting for geolocation and set up the send location interval to every minute when phone is charging and if not set up that way, it will only report every 15 minutes.