Classes | |
| class | AsyncSeeCallback |
| class | Device |
| class | DeviceScanner |
| class | DeviceTracker |
| class | DeviceTrackerPlatform |
| class | SeeCallback |
Functions | |
| None | _async_setup_integration (HomeAssistant hass, ConfigType config, asyncio.Future[DeviceTracker] tracker_future) |
| tuple[dict[str, str|None], dict[str, dict[str, Any]]] | _load_device_names_and_attributes (DeviceScanner scanner, bool device_name_uses_executor, bool extra_attributes_uses_executor, set[str] seen, list[str] found_devices) |
| DeviceTrackerPlatform|None | async_create_platform_type (HomeAssistant hass, ConfigType config, str p_type, dict p_config) |
| list[DeviceTrackerPlatform] | async_extract_config (HomeAssistant hass, ConfigType config) |
| list[Device] | async_load_config (str path, HomeAssistant hass, timedelta consider_home) |
| None | async_setup_integration (HomeAssistant hass, ConfigType config) |
| None | async_setup_scanner_platform (HomeAssistant hass, ConfigType config, DeviceScanner scanner, Callable[..., Coroutine[None, None, None]] async_see_device, str platform) |
| str | get_gravatar_for_email (str email) |
| DeviceTracker | get_tracker (HomeAssistant hass, ConfigType config) |
| None | remove_device_from_config (HomeAssistant hass, str device_id) |
| None | see (HomeAssistant hass, str|None mac=None, str|None dev_id=None, str|None host_name=None, str|None location_name=None, GPSType|None gps=None, int|None gps_accuracy=None, int|None battery=None, dict[str, Any]|None attributes=None) |
| None | update_config (str path, str dev_id, Device device) |
Variables | |
| Final | |
| NEW_DEVICE_DEFAULTS_SCHEMA | |
| list | SOURCE_TYPES = [cls.value for cls in SourceType] |
Legacy device tracker classes.
|
private |
|
private |
| DeviceTrackerPlatform | None homeassistant.components.device_tracker.legacy.async_create_platform_type | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| str | p_type, | ||
| dict | p_config | ||
| ) |
| list[DeviceTrackerPlatform] homeassistant.components.device_tracker.legacy.async_extract_config | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
| list[Device] homeassistant.components.device_tracker.legacy.async_load_config | ( | str | path, |
| HomeAssistant | hass, | ||
| timedelta | consider_home | ||
| ) |
| None homeassistant.components.device_tracker.legacy.async_setup_integration | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
| None homeassistant.components.device_tracker.legacy.async_setup_scanner_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| DeviceScanner | scanner, | ||
| Callable[..., Coroutine[None, None, None]] | async_see_device, | ||
| str | platform | ||
| ) |
| str homeassistant.components.device_tracker.legacy.get_gravatar_for_email | ( | str | ) |
| DeviceTracker homeassistant.components.device_tracker.legacy.get_tracker | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
| None homeassistant.components.device_tracker.legacy.remove_device_from_config | ( | HomeAssistant | hass, |
| str | device_id | ||
| ) |
| None homeassistant.components.device_tracker.legacy.see | ( | HomeAssistant | hass, |
| str | None | mac = None, |
||
| str | None | dev_id = None, |
||
| str | None | host_name = None, |
||
| str | None | location_name = None, |
||
| GPSType | None | gps = None, |
||
| int | None | gps_accuracy = None, |
||
| int | None | battery = None, |
||
| dict[str, Any] | None | attributes = None |
||
| ) |
| None homeassistant.components.device_tracker.legacy.update_config | ( | str | path, |
| str | dev_id, | ||
| Device | device | ||
| ) |
| homeassistant.components.device_tracker.legacy.NEW_DEVICE_DEFAULTS_SCHEMA |
| list homeassistant.components.device_tracker.legacy.SOURCE_TYPES = [cls.value for cls in SourceType] |