I no longer have the time to actively work on this project, and so all future development will be from pull requests submitted by the community. What I will do is:
- review pull requests that pass all of the CI checks
- publish new releases upon request
Documentation for this package can be found at https://androidtv.readthedocs.io.
androidtv
is a Python package that provides state information and control of Android TV and Fire TV devices via ADB. This package is used by the Android TV integration in Home Assistant.
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]
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.