home-assistant / home-assistant/android

New sensor: device is connected via ADB

Open
#4,573 3 comments 0 reactions 0 assignees View on GitHub
enhancement sensor-tracking
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.