My wife sometimes uses the “save data” function on her Samsung S7 and this killes the apps (GPS-Logger, HA-Companion, …).
Turning on unrestricted data for the Android app did the trick…
Then I switched to the component “ha-composite-tracker” to track the phones. This workes quite well and detects changes fast and reliable.
This platform creates a composite device tracker from one or more other device trackers and/or binary sensors (see here).
- platform: composite
name: flo_composite
time_as: device_or_local
require_movement: true
entity_id:
#- device_tracker.op6_gps # gps-logger
- device_tracker.op6_ping
- binary_sensor.op6_bs_ping
- device_tracker.op6_wifi
- device_tracker.oneplus_a6003 # HA-companion