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

Variables

string CONF_ARRIVAL = "arrival"
 
string CONF_ARRIVAL_TIME = "arrival_time"
 
string CONF_DEPARTURE = "departure"
 
string CONF_DEPARTURE_TIME = "departure_time"
 
string CONF_DESTINATION = "destination"
 
string CONF_DESTINATION_ENTITY_ID = "destination_entity_id"
 
string CONF_DESTINATION_LATITUDE = "destination_latitude"
 
string CONF_DESTINATION_LONGITUDE = "destination_longitude"
 
string CONF_ORIGIN = "origin"
 
string CONF_ORIGIN_ENTITY_ID = "origin_entity_id"
 
string CONF_ORIGIN_LATITUDE = "origin_latitude"
 
string CONF_ORIGIN_LONGITUDE = "origin_longitude"
 
string CONF_ROUTE_MODE = "route_mode"
 
string DEFAULT_NAME = "HERE Travel Time"
 
int DEFAULT_SCAN_INTERVAL = 300
 
string DOMAIN = "here_travel_time"
 
 Final
 
string ICON_BICYCLE = "mdi:bike"
 
string ICON_CAR = "mdi:car"
 
string ICON_PEDESTRIAN = "mdi:walk"
 
string ICON_PUBLIC = "mdi:bus"
 
string ICON_TRUCK = "mdi:truck"
 
dictionary ICONS
 
string ROUTE_MODE_FASTEST = "fastest"
 
string ROUTE_MODE_SHORTEST = "shortest"
 
list ROUTE_MODES = [ROUTE_MODE_FASTEST, ROUTE_MODE_SHORTEST]
 
string TRAVEL_MODE_BICYCLE = "bicycle"
 
string TRAVEL_MODE_CAR = "car"
 
string TRAVEL_MODE_PEDESTRIAN = "pedestrian"
 
string TRAVEL_MODE_PUBLIC = "publicTransport"
 
string TRAVEL_MODE_TRUCK = "truck"
 
list TRAVEL_MODES
 
list TRAVEL_MODES_VEHICLE = [TRAVEL_MODE_CAR, TRAVEL_MODE_TRUCK]
 

Detailed Description

Constants for the HERE Travel Time integration.

Variable Documentation

◆ CONF_ARRIVAL

string homeassistant.components.here_travel_time.const.CONF_ARRIVAL = "arrival"

Definition at line 18 of file const.py.

◆ CONF_ARRIVAL_TIME

string homeassistant.components.here_travel_time.const.CONF_ARRIVAL_TIME = "arrival_time"

Definition at line 20 of file const.py.

◆ CONF_DEPARTURE

string homeassistant.components.here_travel_time.const.CONF_DEPARTURE = "departure"

Definition at line 19 of file const.py.

◆ CONF_DEPARTURE_TIME

string homeassistant.components.here_travel_time.const.CONF_DEPARTURE_TIME = "departure_time"

Definition at line 21 of file const.py.

◆ CONF_DESTINATION

string homeassistant.components.here_travel_time.const.CONF_DESTINATION = "destination"

Definition at line 9 of file const.py.

◆ CONF_DESTINATION_ENTITY_ID

string homeassistant.components.here_travel_time.const.CONF_DESTINATION_ENTITY_ID = "destination_entity_id"

Definition at line 12 of file const.py.

◆ CONF_DESTINATION_LATITUDE

string homeassistant.components.here_travel_time.const.CONF_DESTINATION_LATITUDE = "destination_latitude"

Definition at line 10 of file const.py.

◆ CONF_DESTINATION_LONGITUDE

string homeassistant.components.here_travel_time.const.CONF_DESTINATION_LONGITUDE = "destination_longitude"

Definition at line 11 of file const.py.

◆ CONF_ORIGIN

string homeassistant.components.here_travel_time.const.CONF_ORIGIN = "origin"

Definition at line 13 of file const.py.

◆ CONF_ORIGIN_ENTITY_ID

string homeassistant.components.here_travel_time.const.CONF_ORIGIN_ENTITY_ID = "origin_entity_id"

Definition at line 16 of file const.py.

◆ CONF_ORIGIN_LATITUDE

string homeassistant.components.here_travel_time.const.CONF_ORIGIN_LATITUDE = "origin_latitude"

Definition at line 14 of file const.py.

◆ CONF_ORIGIN_LONGITUDE

string homeassistant.components.here_travel_time.const.CONF_ORIGIN_LONGITUDE = "origin_longitude"

Definition at line 15 of file const.py.

◆ CONF_ROUTE_MODE

string homeassistant.components.here_travel_time.const.CONF_ROUTE_MODE = "route_mode"

Definition at line 17 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.here_travel_time.const.DEFAULT_NAME = "HERE Travel Time"

Definition at line 23 of file const.py.

◆ DEFAULT_SCAN_INTERVAL

int homeassistant.components.here_travel_time.const.DEFAULT_SCAN_INTERVAL = 300

Definition at line 6 of file const.py.

◆ DOMAIN

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

Definition at line 5 of file const.py.

◆ Final

homeassistant.components.here_travel_time.const.Final

Definition at line 57 of file const.py.

◆ ICON_BICYCLE

string homeassistant.components.here_travel_time.const.ICON_BICYCLE = "mdi:bike"

Definition at line 44 of file const.py.

◆ ICON_CAR

string homeassistant.components.here_travel_time.const.ICON_CAR = "mdi:car"

Definition at line 45 of file const.py.

◆ ICON_PEDESTRIAN

string homeassistant.components.here_travel_time.const.ICON_PEDESTRIAN = "mdi:walk"

Definition at line 46 of file const.py.

◆ ICON_PUBLIC

string homeassistant.components.here_travel_time.const.ICON_PUBLIC = "mdi:bus"

Definition at line 47 of file const.py.

◆ ICON_TRUCK

string homeassistant.components.here_travel_time.const.ICON_TRUCK = "mdi:truck"

Definition at line 48 of file const.py.

◆ ICONS

dictionary homeassistant.components.here_travel_time.const.ICONS
Initial value:
1 = {
2  TRAVEL_MODE_BICYCLE: ICON_BICYCLE,
3  TRAVEL_MODE_PEDESTRIAN: ICON_PEDESTRIAN,
4  TRAVEL_MODE_PUBLIC: ICON_PUBLIC,
5  TRAVEL_MODE_TRUCK: ICON_TRUCK,
6 }

Definition at line 50 of file const.py.

◆ ROUTE_MODE_FASTEST

string homeassistant.components.here_travel_time.const.ROUTE_MODE_FASTEST = "fastest"

Definition at line 40 of file const.py.

◆ ROUTE_MODE_SHORTEST

string homeassistant.components.here_travel_time.const.ROUTE_MODE_SHORTEST = "shortest"

Definition at line 41 of file const.py.

◆ ROUTE_MODES

list homeassistant.components.here_travel_time.const.ROUTE_MODES = [ROUTE_MODE_FASTEST, ROUTE_MODE_SHORTEST]

Definition at line 42 of file const.py.

◆ TRAVEL_MODE_BICYCLE

string homeassistant.components.here_travel_time.const.TRAVEL_MODE_BICYCLE = "bicycle"

Definition at line 25 of file const.py.

◆ TRAVEL_MODE_CAR

string homeassistant.components.here_travel_time.const.TRAVEL_MODE_CAR = "car"

Definition at line 26 of file const.py.

◆ TRAVEL_MODE_PEDESTRIAN

string homeassistant.components.here_travel_time.const.TRAVEL_MODE_PEDESTRIAN = "pedestrian"

Definition at line 27 of file const.py.

◆ TRAVEL_MODE_PUBLIC

string homeassistant.components.here_travel_time.const.TRAVEL_MODE_PUBLIC = "publicTransport"

Definition at line 28 of file const.py.

◆ TRAVEL_MODE_TRUCK

string homeassistant.components.here_travel_time.const.TRAVEL_MODE_TRUCK = "truck"

Definition at line 29 of file const.py.

◆ TRAVEL_MODES

list homeassistant.components.here_travel_time.const.TRAVEL_MODES
Initial value:
1 = [
2  TRAVEL_MODE_BICYCLE,
3  TRAVEL_MODE_CAR,
4  TRAVEL_MODE_PEDESTRIAN,
5  TRAVEL_MODE_PUBLIC,
6  TRAVEL_MODE_TRUCK,
7 ]

Definition at line 30 of file const.py.

◆ TRAVEL_MODES_VEHICLE

list homeassistant.components.here_travel_time.const.TRAVEL_MODES_VEHICLE = [TRAVEL_MODE_CAR, TRAVEL_MODE_TRUCK]

Definition at line 38 of file const.py.