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

Variables

string AUTHORIZE_URL = "https://auth.tesla.com/oauth2/v3/authorize"
 
string CLIENT_ID = "71b813eb-4a2e-483a-b831-4dec5cb9bf0d"
 
string CONF_REFRESH_TOKEN = "refresh_token"
 
string DOMAIN = "tesla_fleet"
 
 LOGGER = logging.getLogger(__package__)
 
dictionary MODELS
 
list SCOPES
 
string TOKEN_URL = "https://auth.tesla.com/oauth2/v3/token"
 

Detailed Description

Constants used by Tesla Fleet integration.

Variable Documentation

◆ AUTHORIZE_URL

string homeassistant.components.tesla_fleet.const.AUTHORIZE_URL = "https://auth.tesla.com/oauth2/v3/authorize"

Definition at line 17 of file const.py.

◆ CLIENT_ID

string homeassistant.components.tesla_fleet.const.CLIENT_ID = "71b813eb-4a2e-483a-b831-4dec5cb9bf0d"

Definition at line 16 of file const.py.

◆ CONF_REFRESH_TOKEN

string homeassistant.components.tesla_fleet.const.CONF_REFRESH_TOKEN = "refresh_token"

Definition at line 12 of file const.py.

◆ DOMAIN

string homeassistant.components.tesla_fleet.const.DOMAIN = "tesla_fleet"

Definition at line 10 of file const.py.

◆ LOGGER

homeassistant.components.tesla_fleet.const.LOGGER = logging.getLogger(__package__)

Definition at line 14 of file const.py.

◆ MODELS

dictionary homeassistant.components.tesla_fleet.const.MODELS
Initial value:
1 = {
2  "S": "Model S",
3  "3": "Model 3",
4  "X": "Model X",
5  "Y": "Model Y",
6 }

Definition at line 31 of file const.py.

◆ SCOPES

list homeassistant.components.tesla_fleet.const.SCOPES
Initial value:
1 = [
2  Scope.OPENID,
3  Scope.OFFLINE_ACCESS,
4  Scope.VEHICLE_DEVICE_DATA,
5  Scope.VEHICLE_LOCATION,
6  Scope.VEHICLE_CMDS,
7  Scope.VEHICLE_CHARGING_CMDS,
8  Scope.ENERGY_DEVICE_DATA,
9  Scope.ENERGY_CMDS,
10 ]

Definition at line 20 of file const.py.

◆ TOKEN_URL

string homeassistant.components.tesla_fleet.const.TOKEN_URL = "https://auth.tesla.com/oauth2/v3/token"

Definition at line 18 of file const.py.