Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tractive Namespace Reference

Namespaces

 binary_sensor
 
 config_flow
 
 const
 
 device_tracker
 
 diagnostics
 
 entity
 
 sensor
 
 switch
 

Classes

class  Trackables
 
class  TractiveClient
 
class  TractiveData
 

Functions

Trackables|None _generate_trackables (aiotractive.Tractive client, aiotractive.trackable_object.TrackableObject trackable)
 
bool async_setup_entry (HomeAssistant hass, TractiveConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, TractiveConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list PLATFORMS
 
 TractiveConfigEntry
 

Detailed Description

The tractive integration.

Function Documentation

◆ _generate_trackables()

Trackables | None homeassistant.components.tractive._generate_trackables ( aiotractive.Tractive  client,
aiotractive.trackable_object.TrackableObject  trackable 
)
private
Generate trackables.

Definition at line 127 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.tractive.async_setup_entry ( HomeAssistant  hass,
TractiveConfigEntry  entry 
)
Set up tractive from a config entry.

Definition at line 79 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.tractive.async_unload_entry ( HomeAssistant  hass,
TractiveConfigEntry  entry 
)
Unload a config entry.

Definition at line 159 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.tractive._LOGGER = logging.getLogger(__name__)
private

Definition at line 54 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.tractive.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.DEVICE_TRACKER,
4  Platform.SENSOR,
5  Platform.SWITCH,
6 ]

Definition at line 46 of file __init__.py.

◆ TractiveConfigEntry

homeassistant.components.tractive.TractiveConfigEntry

Definition at line 76 of file __init__.py.