Location entities

I am currently using entity tracker And then the home zone to turn alarm on and off. s linked to our mobile phone and home assistant companion app. When anyone returns home, it triggers.

At the moment It works most of the time, but sometimes when we return home, it doesn’t trigger fast enough, and when we get out of the car and open the front door the alarm is still on.

I thought another option might be to check whether our phone is connected to the home Wi-Fi., is there a way to work this into the entity location?

I also have an asus 86U router. I saw there is an integration but I haven’t looked at it In-depth. I see that it can show me the download speeds and amounts. did not seem very useful to me.

I have an ESP8266 board in each of my cars. It’s usually in deep sleep, but wakes once a minute to try to connect to my WiFi.

Here’s my automation to set the presence:

alias: set jeep presence
description: Set the text helper to "home" or "away"
trigger:
  - platform: state
    entity_id: binary_sensor.jeep_status
    to: "off"
    for:
      hours: 0
      minutes: 4
      seconds: 0
  - platform: state
    entity_id: binary_sensor.jeep_status
    to: "on"
condition: []
action:
  - service: input_text.set_value
    data:
      value: |
        {% if is_state('binary_sensor.jeep_status', 'on') %}
          Home
        {% else %}
          Away
        {% endif %}
    target:
      entity_id: input_text.jeep_presence
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.jeep_led
mode: single