home-assistant / home-assistant/android
New sensor: device is connected via ADB
- 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.**
A sensor that tells whether the device is being used for debug purposes or not would be useful for "charged enough" automated warnings.
**Describe the solution you'd like**
A new boolean sensor.
**Describe alternatives you've considered, if any**
I'll probably use the charger type in place of that, although it's not exactly ideal.
**Additional context**
I've done some searches and it doesn't seem possible - it looks like the adbd will be in background as soon as you enable USB debugging on the phone, whether it's in use or idle.
But I've opened the issue anyway so at least there's a definitive answer if it's possible or not in HA :)
Thanks for the good work!
Contributor guide
Assessment
This issue has not been assessed yet.