Home Assistant Unofficial Reference 2024.12.1
legacy.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.device_tracker.legacy.AsyncSeeCallback
 
class  homeassistant.components.device_tracker.legacy.Device
 
class  homeassistant.components.device_tracker.legacy.DeviceScanner
 
class  homeassistant.components.device_tracker.legacy.DeviceTracker
 
class  homeassistant.components.device_tracker.legacy.DeviceTrackerPlatform
 
class  homeassistant.components.device_tracker.legacy.SeeCallback
 

Namespaces

 homeassistant.components.device_tracker.legacy
 

Functions

None homeassistant.components.device_tracker.legacy._async_setup_integration (HomeAssistant hass, ConfigType config, asyncio.Future[DeviceTracker] tracker_future)
 
tuple[dict[str, str|None], dict[str, dict[str, Any]]] homeassistant.components.device_tracker.legacy._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 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 email)
 
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)
 

Variables

 homeassistant.components.device_tracker.legacy.Final
 
 homeassistant.components.device_tracker.legacy.NEW_DEVICE_DEFAULTS_SCHEMA
 
list homeassistant.components.device_tracker.legacy.SOURCE_TYPES = [cls.value for cls in SourceType]