home-assistant / home-assistant/android
Companion App Location Sensor - Toggle On/Off with Automation
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
**Is your feature request related to a problem? Please describe.**
You can manually turn location sensors in the Companion App on and off, but you cannot turn them on and off via automations.
**Describe the solution you'd like**
I would like the ability to toggle companion app location sensor on/off via automation (or the addition of such a command in the send notifications function).
**Describe alternatives you've considered, if any**
Manually toggling appears to be the only alternative for my use case.
**Additional context**
I would like the ability to turn the location sensors on when I do something such as connecting to Android Auto. With the included feature of being able to turn on high accuracy location when the device is connected to a specific other device via Bluetooth, the workflow could look like:
My phone connects to Android Auto > Companion App Location Sensor toggles on > High Accuracy Sensor toggles on because my vehicle is listed as an applicable bluetooth device to trigger High Accuracy Sensor.
This way, the location sensor is not constantly on and draining battery, and manual intervention won't be constantly required.
Contributor guide
Assessment
This issue has not been assessed yet.