Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tesla_fleet.coordinator Namespace Reference

Classes

class  TeslaFleetEnergySiteInfoCoordinator
 
class  TeslaFleetEnergySiteLiveCoordinator
 
class  TeslaFleetVehicleDataCoordinator
 

Functions

dict[str, Any] flatten (dict[str, Any] data, str|None parent=None)
 

Variables

list ENDPOINTS
 
 ENERGY_INTERVAL = timedelta(seconds=ENERGY_INTERVAL_SECONDS)
 
int ENERGY_INTERVAL_SECONDS = 60
 
 VEHICLE_INTERVAL = timedelta(seconds=VEHICLE_INTERVAL_SECONDS)
 
int VEHICLE_INTERVAL_SECONDS = 90
 
 VEHICLE_WAIT = timedelta(minutes=15)
 

Detailed Description

Tesla Fleet Data Coordinator.

Function Documentation

◆ flatten()

dict[str, Any] homeassistant.components.tesla_fleet.coordinator.flatten ( dict[str, Any]  data,
str | None   parent = None 
)
Flatten the data structure.

Definition at line 41 of file coordinator.py.

Variable Documentation

◆ ENDPOINTS

list homeassistant.components.tesla_fleet.coordinator.ENDPOINTS
Initial value:
1 = [
2  VehicleDataEndpoint.CHARGE_STATE,
3  VehicleDataEndpoint.CLIMATE_STATE,
4  VehicleDataEndpoint.DRIVE_STATE,
5  VehicleDataEndpoint.LOCATION_DATA,
6  VehicleDataEndpoint.VEHICLE_STATE,
7  VehicleDataEndpoint.VEHICLE_CONFIG,
8 ]

Definition at line 31 of file coordinator.py.

◆ ENERGY_INTERVAL

homeassistant.components.tesla_fleet.coordinator.ENERGY_INTERVAL = timedelta(seconds=ENERGY_INTERVAL_SECONDS)

Definition at line 29 of file coordinator.py.

◆ ENERGY_INTERVAL_SECONDS

int homeassistant.components.tesla_fleet.coordinator.ENERGY_INTERVAL_SECONDS = 60

Definition at line 28 of file coordinator.py.

◆ VEHICLE_INTERVAL

homeassistant.components.tesla_fleet.coordinator.VEHICLE_INTERVAL = timedelta(seconds=VEHICLE_INTERVAL_SECONDS)

Definition at line 25 of file coordinator.py.

◆ VEHICLE_INTERVAL_SECONDS

int homeassistant.components.tesla_fleet.coordinator.VEHICLE_INTERVAL_SECONDS = 90

Definition at line 24 of file coordinator.py.

◆ VEHICLE_WAIT

homeassistant.components.tesla_fleet.coordinator.VEHICLE_WAIT = timedelta(minutes=15)

Definition at line 26 of file coordinator.py.