#Automation not running on connection to home Wifi

1 messages · Page 1 of 1 (latest)

haughty vine
#

I run an automation to turn on some lights in an office when I arrive home and connect to my home wifi. I am using the Home Assistant companion app on iOS 18.5. This has been working fine up until today it seems, when it will only work if I also open up the companion app as well. I used to not have to do this for it to work.

description: ""
triggers:
  - trigger: state
    entity_id:
      - sensor.chris_s_iphone_ssid
    to: Distributary
conditions:
  - condition: time
    after: "10:00:00"
    before: "03:00:00"
actions:
  - action: light.turn_on
    metadata: {}
    data:
      brightness_pct: 100
      effect: Night
    target:
      entity_id: light.h60a1_787a
  - action: light.turn_on
    metadata: {}
    data:
      brightness_pct: 50
      effect: Dreamlike
    target:
      entity_id: light.h6063_23d2
  - action: light.turn_on
    metadata: {}
    data:
      rgb_color:
        - 94
        - 0
        - 138
      brightness_pct: 100
    target:
      entity_id:
        - light.window_leds
  - action: light.turn_on
    metadata: {}
    data:
      rgb_color:
        - 0
        - 213
        - 255
      brightness_pct: 100
    target:
      entity_id:
        - light.desk_leds
  - action: light.turn_on
    metadata: {}
    data:
      brightness_pct: 100
      effect: Night
      rgb_color:
        - 83
        - 0
        - 128
    target:
      entity_id:
        - light.monitor_lights
mode: single
haughty vine
#

I have completely removed and reinstalled the app, no change. I have removed all the app data, frontend cache, entities database... no change. If I turn off the SSID sensor in the companion app and turn it back on, the automation will run every time I do this. So, seems the issue is with either iOS or the companion app for some reason.

#

HA app is 2025.6, HA is:

Core 2025.7.1
Supervisor 2025.07.1
Operating System 16.0
Frontend 20250702.1

haughty vine
#

I'm also not seeing any issues in the application logs or on my HA server.

haughty vine
#

Is this a known bug in this version of the HA app on iOS?

grim crest
#

Check if your location permission hasn't be reset for some reason

#

You need location permission set to always and precise

#

Also to more frequent updates you need to enable "Local push" under Companion App Settings > Your Server name > Internal URL