androidtv is a Python 3 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.
Be sure you install into a Python 3.x environment.
pip install androidtv
ADB Intents and Commands¶
A collection of useful intents and commands can be found here (credit: mcfrojd).