Namespaces | |
| config_flow | |
| const | |
| diagnostics | |
| entity | |
| media_player | |
| remote | |
Classes | |
| class | AndroidTVRuntimeData |
Functions | |
| tuple[str, PythonRSASigner|None, str] | _setup_androidtv (HomeAssistant hass, Mapping[str, Any] config) |
| tuple[AndroidTVAsync|FireTVAsync|None, str|None] | async_connect_androidtv (HomeAssistant hass, Mapping[str, Any] config, *dict[str, Any]|None state_detection_rules=None, float timeout=30.0) |
| bool | async_migrate_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_setup_entry (HomeAssistant hass, AndroidTVConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, AndroidTVConfigEntry entry) |
| str|None | get_androidtv_mac (dict[str, Any] dev_props) |
| None | update_listener (HomeAssistant hass, AndroidTVConfigEntry entry) |
Variables | |
| dictionary | _INVALID_MACS = {"ff:ff:ff:ff:ff:ff"} |
| _LOGGER = logging.getLogger(__name__) | |
| AndroidTVConfigEntry = ConfigEntry[AndroidTVRuntimeData] | |
| list | PLATFORMS = [Platform.MEDIA_PLAYER, Platform.REMOTE] |
| list | RELOAD_OPTIONS = [CONF_STATE_DETECTION_RULES] |
| tuple | |
Support for functionality to interact with Android/Fire TV devices.
|
private |
Generate an ADB key (if needed) and load it.
Definition at line 95 of file __init__.py.
| tuple[AndroidTVAsync | FireTVAsync | None, str | None] homeassistant.components.androidtv.async_connect_androidtv | ( | HomeAssistant | hass, |
| Mapping[str, Any] | config, | ||
| *dict[str, Any] | None | state_detection_rules = None, |
||
| float | timeout = 30.0 |
||
| ) |
Connect to Android device.
Definition at line 123 of file __init__.py.
| bool homeassistant.components.androidtv.async_migrate_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Migrate old entry.
Definition at line 164 of file __init__.py.
| bool homeassistant.components.androidtv.async_setup_entry | ( | HomeAssistant | hass, |
| AndroidTVConfigEntry | entry | ||
| ) |
Set up Android Debug Bridge platform.
Definition at line 190 of file __init__.py.
| bool homeassistant.components.androidtv.async_unload_entry | ( | HomeAssistant | hass, |
| AndroidTVConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 225 of file __init__.py.
| str | None homeassistant.components.androidtv.get_androidtv_mac | ( | dict[str, Any] | dev_props | ) |
Return formatted mac from device properties.
Definition at line 85 of file __init__.py.
| None homeassistant.components.androidtv.update_listener | ( | HomeAssistant | hass, |
| AndroidTVConfigEntry | entry | ||
| ) |
Update when config_entry options update.
Definition at line 234 of file __init__.py.
|
private |
Definition at line 69 of file __init__.py.
|
private |
Definition at line 71 of file __init__.py.
| homeassistant.components.androidtv.AndroidTVConfigEntry = ConfigEntry[AndroidTVRuntimeData] |
Definition at line 82 of file __init__.py.
| list homeassistant.components.androidtv.PLATFORMS = [Platform.MEDIA_PLAYER, Platform.REMOTE] |
Definition at line 66 of file __init__.py.
| list homeassistant.components.androidtv.RELOAD_OPTIONS = [CONF_STATE_DETECTION_RULES] |
Definition at line 67 of file __init__.py.
| homeassistant.components.androidtv.tuple |
Definition at line 54 of file __init__.py.