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

Classes

class  TeslaFleetEnergyInfoSensorEntity
 
class  TeslaFleetEnergyLiveSensorEntity
 
class  TeslaFleetSensorEntityDescription
 
class  TeslaFleetTimeEntityDescription
 
class  TeslaFleetVehicleSensorEntity
 
class  TeslaFleetVehicleTimeSensorEntity
 
class  TeslaFleetWallConnectorSensorEntity
 

Functions

None async_setup_entry (HomeAssistant hass, TeslaFleetConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

dictionary CHARGE_STATES
 
int PARALLEL_UPDATES = 0
 
dictionary SHIFT_STATES = {"P": "p", "D": "d", "R": "r", "N": "n"}
 

Detailed Description

Sensor platform for Tesla Fleet integration.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.tesla_fleet.sensor.async_setup_entry ( HomeAssistant  hass,
TeslaFleetConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Tesla Fleet sensor platform from a config entry.

Definition at line 429 of file sensor.py.

Variable Documentation

◆ CHARGE_STATES

dictionary homeassistant.components.tesla_fleet.sensor.CHARGE_STATES
Initial value:
1 = {
2  "Starting": "starting",
3  "Charging": "charging",
4  "Stopped": "stopped",
5  "Complete": "complete",
6  "Disconnected": "disconnected",
7  "NoPower": "no_power",
8 }

Definition at line 49 of file sensor.py.

◆ PARALLEL_UPDATES

int homeassistant.components.tesla_fleet.sensor.PARALLEL_UPDATES = 0

Definition at line 47 of file sensor.py.

◆ SHIFT_STATES

dictionary homeassistant.components.tesla_fleet.sensor.SHIFT_STATES = {"P": "p", "D": "d", "R": "r", "N": "n"}

Definition at line 58 of file sensor.py.