Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google_maps.device_tracker Namespace Reference

Classes

class  GoogleMapsScanner
 

Functions

bool setup_scanner (HomeAssistant hass, ConfigType config, SeeCallback see, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_ADDRESS = "address"
 
string ATTR_FULL_NAME = "full_name"
 
string ATTR_LAST_SEEN = "last_seen"
 
string ATTR_NICKNAME = "nickname"
 
string CONF_MAX_GPS_ACCURACY = "max_gps_accuracy"
 
string CREDENTIALS_FILE = ".google_maps_location_sharing.cookies"
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for Google Maps location sharing.

Function Documentation

◆ setup_scanner()

bool homeassistant.components.google_maps.device_tracker.setup_scanner ( HomeAssistant  hass,
ConfigType  config,
SeeCallback  see,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Google Maps Location sharing scanner.

Definition at line 51 of file device_tracker.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.google_maps.device_tracker._LOGGER = logging.getLogger(__name__)
private

Definition at line 30 of file device_tracker.py.

◆ ATTR_ADDRESS

string homeassistant.components.google_maps.device_tracker.ATTR_ADDRESS = "address"

Definition at line 32 of file device_tracker.py.

◆ ATTR_FULL_NAME

string homeassistant.components.google_maps.device_tracker.ATTR_FULL_NAME = "full_name"

Definition at line 33 of file device_tracker.py.

◆ ATTR_LAST_SEEN

string homeassistant.components.google_maps.device_tracker.ATTR_LAST_SEEN = "last_seen"

Definition at line 34 of file device_tracker.py.

◆ ATTR_NICKNAME

string homeassistant.components.google_maps.device_tracker.ATTR_NICKNAME = "nickname"

Definition at line 35 of file device_tracker.py.

◆ CONF_MAX_GPS_ACCURACY

string homeassistant.components.google_maps.device_tracker.CONF_MAX_GPS_ACCURACY = "max_gps_accuracy"

Definition at line 37 of file device_tracker.py.

◆ CREDENTIALS_FILE

string homeassistant.components.google_maps.device_tracker.CREDENTIALS_FILE = ".google_maps_location_sharing.cookies"

Definition at line 39 of file device_tracker.py.

◆ PLATFORM_SCHEMA

homeassistant.components.google_maps.device_tracker.PLATFORM_SCHEMA
Initial value:
1 = DEVICE_TRACKER_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_USERNAME): cv.string,
4  vol.Optional(CONF_MAX_GPS_ACCURACY, default=100000): vol.Coerce(float),
5  }
6 )

Definition at line 43 of file device_tracker.py.