Track_ios & device_tracker

battery update is coming.

I have an automation that runs on startup that calls the “request_location_update” function.

Sometimes it wouldn’t work so I have it send the message twice.

Automation looks like this.

- alias: Update IOS location on HA start
  trigger:
  - platform: homeassistant
    event: start
  action:
   - service: notify.ios_ryans_iphone_app
 data:
  message: request_location_update  
   - delay: 00:00:20
   - service: notify.ios_ryans_iphone_app
 data:
  message: request_location_update