Classes | |
| class | XiaomiDeviceScanner |
Functions | |
| def | _get_token (host, username, password) |
| def | _retrieve_list (host, token, **kwargs) |
| XiaomiDeviceScanner|None | get_scanner (HomeAssistant hass, ConfigType config) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| PLATFORM_SCHEMA | |
Support for Xiaomi Mi routers.
|
private |
Get authentication token for the given host+username+password.
Definition at line 150 of file device_tracker.py.
|
private |
Get device list for the given host.
Definition at line 112 of file device_tracker.py.
| XiaomiDeviceScanner | None homeassistant.components.xiaomi.device_tracker.get_scanner | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Validate the configuration and return a Xiaomi Device Scanner.
Definition at line 32 of file device_tracker.py.
|
private |
Definition at line 21 of file device_tracker.py.
| homeassistant.components.xiaomi.device_tracker.PLATFORM_SCHEMA |
Definition at line 23 of file device_tracker.py.