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

Classes

class  FleetGoDeviceScanner
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for FleetGO Platform.

Function Documentation

◆ setup_scanner()

bool homeassistant.components.fleetgo.device_tracker.setup_scanner ( HomeAssistant  hass,
ConfigType  config,
SeeCallback  see,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the DeviceScanner and check if login is valid.

Definition at line 40 of file device_tracker.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 27 of file device_tracker.py.

◆ PLATFORM_SCHEMA

homeassistant.components.fleetgo.device_tracker.PLATFORM_SCHEMA
Initial value:
1 = DEVICE_TRACKER_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_USERNAME): cv.string,
4  vol.Required(CONF_PASSWORD): cv.string,
5  vol.Required(CONF_CLIENT_ID): cv.string,
6  vol.Required(CONF_CLIENT_SECRET): cv.string,
7  vol.Optional(CONF_INCLUDE, default=[]): vol.All(cv.ensure_list, [cv.string]),
8  }
9 )

Definition at line 29 of file device_tracker.py.