1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Rename Android TV to Android Debug Bridge (#90657)

* Rename Android TV to Android debug bridge

* More renaming
This commit is contained in:
tronikos
2023-04-02 11:22:16 -07:00
committed by GitHub
parent 17270979e6
commit b52fab0f6d
10 changed files with 80 additions and 79 deletions

View File

@@ -48,14 +48,14 @@ INVALID_MAC = "ff:ff:ff:ff:ff:ff"
HOST = "127.0.0.1"
VALID_DETECT_RULE = [{"paused": {"media_session_state": 3}}]
# Android TV device with Python ADB implementation
# Android device with Python ADB implementation
CONFIG_PYTHON_ADB = {
CONF_HOST: HOST,
CONF_PORT: DEFAULT_PORT,
CONF_DEVICE_CLASS: DEVICE_ANDROIDTV,
}
# Android TV device with ADB server
# Android device with ADB server
CONFIG_ADB_SERVER = {
CONF_HOST: HOST,
CONF_PORT: DEFAULT_PORT,
@@ -70,7 +70,7 @@ CONNECT_METHOD = (
class MockConfigDevice:
"""Mock class to emulate Android TV device."""
"""Mock class to emulate Android device."""
def __init__(self, eth_mac=ETH_MAC, wifi_mac=None):
"""Initialize a fake device to test config flow."""