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

Variables

string API_GEN_1 = "g1"
 
string API_GEN_2 = "g2"
 
string API_GEN_3 = "g3"
 
string ATTR_DOOR = "door"
 
string CONF_UPDATE_ENABLED = "update_enabled"
 
string COORDINATOR_NAME = "subaru_data"
 
string DOMAIN = "subaru"
 
string ENTRY_CONTROLLER = "controller"
 
string ENTRY_COORDINATOR = "coordinator"
 
string ENTRY_VEHICLES = "vehicles"
 
int FETCH_INTERVAL = 300
 
dictionary ICONS
 
string MANUFACTURER = "Subaru"
 
list PLATFORMS
 
string SERVICE_LOCK = "lock"
 
string SERVICE_UNLOCK = "unlock"
 
string SERVICE_UNLOCK_SPECIFIC_DOOR = "unlock_specific_door"
 
string UNLOCK_DOOR_ALL = "all"
 
string UNLOCK_DOOR_DRIVERS = "driver"
 
string UNLOCK_DOOR_TAILGATE = "tailgate"
 
dictionary UNLOCK_VALID_DOORS
 
int UPDATE_INTERVAL = 7200
 
string VEHICLE_API_GEN = "api_gen"
 
string VEHICLE_HAS_EV = "is_ev"
 
string VEHICLE_HAS_REMOTE_SERVICE = "has_remote"
 
string VEHICLE_HAS_REMOTE_START = "has_res"
 
string VEHICLE_HAS_SAFETY_SERVICE = "has_safety"
 
string VEHICLE_LAST_UPDATE = "last_update"
 
string VEHICLE_MODEL_NAME = "model_name"
 
string VEHICLE_MODEL_YEAR = "model_year"
 
string VEHICLE_NAME = "display_name"
 
string VEHICLE_STATUS = "vehicle_status"
 
string VEHICLE_VIN = "vin"
 

Detailed Description

Constants for the Subaru integration.

Variable Documentation

◆ API_GEN_1

string homeassistant.components.subaru.const.API_GEN_1 = "g1"

Definition at line 34 of file const.py.

◆ API_GEN_2

string homeassistant.components.subaru.const.API_GEN_2 = "g2"

Definition at line 35 of file const.py.

◆ API_GEN_3

string homeassistant.components.subaru.const.API_GEN_3 = "g3"

Definition at line 36 of file const.py.

◆ ATTR_DOOR

string homeassistant.components.subaru.const.ATTR_DOOR = "door"

Definition at line 49 of file const.py.

◆ CONF_UPDATE_ENABLED

string homeassistant.components.subaru.const.CONF_UPDATE_ENABLED = "update_enabled"

Definition at line 10 of file const.py.

◆ COORDINATOR_NAME

string homeassistant.components.subaru.const.COORDINATOR_NAME = "subaru_data"

Definition at line 18 of file const.py.

◆ DOMAIN

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

Definition at line 7 of file const.py.

◆ ENTRY_CONTROLLER

string homeassistant.components.subaru.const.ENTRY_CONTROLLER = "controller"

Definition at line 13 of file const.py.

◆ ENTRY_COORDINATOR

string homeassistant.components.subaru.const.ENTRY_COORDINATOR = "coordinator"

Definition at line 14 of file const.py.

◆ ENTRY_VEHICLES

string homeassistant.components.subaru.const.ENTRY_VEHICLES = "vehicles"

Definition at line 15 of file const.py.

◆ FETCH_INTERVAL

int homeassistant.components.subaru.const.FETCH_INTERVAL = 300

Definition at line 8 of file const.py.

◆ ICONS

dictionary homeassistant.components.subaru.const.ICONS
Initial value:
1 = {
2  "Avg Fuel Consumption": "mdi:leaf",
3  "EV Range": "mdi:ev-station",
4  "Odometer": "mdi:road-variant",
5  "Range": "mdi:gas-station",
6 }

Definition at line 60 of file const.py.

◆ MANUFACTURER

string homeassistant.components.subaru.const.MANUFACTURER = "Subaru"

Definition at line 37 of file const.py.

◆ PLATFORMS

list homeassistant.components.subaru.const.PLATFORMS
Initial value:
1 = [
2  Platform.DEVICE_TRACKER,
3  Platform.LOCK,
4  Platform.SENSOR,
5 ]

Definition at line 39 of file const.py.

◆ SERVICE_LOCK

string homeassistant.components.subaru.const.SERVICE_LOCK = "lock"

Definition at line 45 of file const.py.

◆ SERVICE_UNLOCK

string homeassistant.components.subaru.const.SERVICE_UNLOCK = "unlock"

Definition at line 46 of file const.py.

◆ SERVICE_UNLOCK_SPECIFIC_DOOR

string homeassistant.components.subaru.const.SERVICE_UNLOCK_SPECIFIC_DOOR = "unlock_specific_door"

Definition at line 47 of file const.py.

◆ UNLOCK_DOOR_ALL

string homeassistant.components.subaru.const.UNLOCK_DOOR_ALL = "all"

Definition at line 51 of file const.py.

◆ UNLOCK_DOOR_DRIVERS

string homeassistant.components.subaru.const.UNLOCK_DOOR_DRIVERS = "driver"

Definition at line 52 of file const.py.

◆ UNLOCK_DOOR_TAILGATE

string homeassistant.components.subaru.const.UNLOCK_DOOR_TAILGATE = "tailgate"

Definition at line 53 of file const.py.

◆ UNLOCK_VALID_DOORS

dictionary homeassistant.components.subaru.const.UNLOCK_VALID_DOORS
Initial value:
1 = {
2  UNLOCK_DOOR_ALL: ALL_DOORS,
3  UNLOCK_DOOR_DRIVERS: DRIVERS_DOOR,
4  UNLOCK_DOOR_TAILGATE: TAILGATE_DOOR,
5 }

Definition at line 54 of file const.py.

◆ UPDATE_INTERVAL

int homeassistant.components.subaru.const.UPDATE_INTERVAL = 7200

Definition at line 9 of file const.py.

◆ VEHICLE_API_GEN

string homeassistant.components.subaru.const.VEHICLE_API_GEN = "api_gen"

Definition at line 26 of file const.py.

◆ VEHICLE_HAS_EV

string homeassistant.components.subaru.const.VEHICLE_HAS_EV = "is_ev"

Definition at line 25 of file const.py.

◆ VEHICLE_HAS_REMOTE_SERVICE

string homeassistant.components.subaru.const.VEHICLE_HAS_REMOTE_SERVICE = "has_remote"

Definition at line 28 of file const.py.

◆ VEHICLE_HAS_REMOTE_START

string homeassistant.components.subaru.const.VEHICLE_HAS_REMOTE_START = "has_res"

Definition at line 27 of file const.py.

◆ VEHICLE_HAS_SAFETY_SERVICE

string homeassistant.components.subaru.const.VEHICLE_HAS_SAFETY_SERVICE = "has_safety"

Definition at line 29 of file const.py.

◆ VEHICLE_LAST_UPDATE

string homeassistant.components.subaru.const.VEHICLE_LAST_UPDATE = "last_update"

Definition at line 30 of file const.py.

◆ VEHICLE_MODEL_NAME

string homeassistant.components.subaru.const.VEHICLE_MODEL_NAME = "model_name"

Definition at line 22 of file const.py.

◆ VEHICLE_MODEL_YEAR

string homeassistant.components.subaru.const.VEHICLE_MODEL_YEAR = "model_year"

Definition at line 23 of file const.py.

◆ VEHICLE_NAME

string homeassistant.components.subaru.const.VEHICLE_NAME = "display_name"

Definition at line 24 of file const.py.

◆ VEHICLE_STATUS

string homeassistant.components.subaru.const.VEHICLE_STATUS = "vehicle_status"

Definition at line 31 of file const.py.

◆ VEHICLE_VIN

string homeassistant.components.subaru.const.VEHICLE_VIN = "vin"

Definition at line 21 of file const.py.