pip install androidtv
To utilize the async version of this code, you must install into a Python 3.7+ environment via:
pip install androidtv[async]
ADB Intents and Commands
A collection of useful intents and commands can be found here (credit: mcfrojd).
This is based on python-firetv by happyleavesaoc and the androidtv component for Home Assistant by a1ex4, and it depends on the Python packages adb-shell (which is based on python-adb) and pure-python-adb.