feat: entry.runtime_data ShieldConnectionManager lifecycle — passive when ADB unavailable, close on HA stop + unload; adb_session adapter docstring
This commit is contained in:
1 parent
ec2db2ae58
commit
63f76f5328
3 files changed
+94
-6
No files matched your search
@@ -1,7 +1,12 @@
|
||||
"""ADB media session reader for NVIDIA Shield.
|
||||
"""ADB session adapter for NVIDIA Shield.
|
||||
|
||||
Thin wrapper around ha_adb_common.AdbClientBase — adds the Shield-specific
|
||||
`poll()` method that calls wake check + media session in sequence.
|
||||
Since Phase 1 this module is a thin adapter on top of ha_adb_common:
|
||||
|
||||
- ``ensure_adb_key`` (re-exported here for the config flow / Pair ADB button)
|
||||
does the one-time key-material setup — the pairing flow stays untouched.
|
||||
- ``AdbMediaSessionPoller`` remains the protocol-level ADB client used by the
|
||||
ShieldConnectionManager (connection.py) and one-shot pairing connects. The
|
||||
polling loop itself lives in the connection manager, not here.
|
||||
|
||||
Re-exports MediaSessionInfo and ensure_adb_key for existing importers.
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user