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

Variables

string ATTR_CONFIG_ENTRY_ID = "config_entry_id"
 
string ATTR_DESTINATION_COUNTRY = "destination_country"
 
string ATTR_INFO_TEXT = "info_text"
 
string ATTR_ORIGIN_COUNTRY = "origin_country"
 
string ATTR_PACKAGE_STATE = "package_state"
 
string ATTR_PACKAGE_TRACKING_NUMBER = "package_tracking_number"
 
string ATTR_PACKAGE_TYPE = "package_type"
 
string ATTR_PACKAGES = "packages"
 
string ATTR_STATUS = "status"
 
string ATTR_TIMESTAMP = "timestamp"
 
string ATTR_TRACKING_INFO_LANGUAGE = "tracking_info_language"
 
string ATTR_TRACKING_NUMBER = "tracking_number"
 
string ATTRIBUTION = "Data provided by 17track.net"
 
string CONF_SHOW_ARCHIVED = "show_archived"
 
string CONF_SHOW_DELIVERED = "show_delivered"
 
string DATA_PACKAGES = "package_data"
 
string DATA_SUMMARY = "summary_data"
 
 DEFAULT_SCAN_INTERVAL = timedelta(minutes=10)
 
bool DEFAULT_SHOW_ARCHIVED = False
 
bool DEFAULT_SHOW_DELIVERED = False
 
string DEPRECATED_KEY = "deprecated"
 
string DOMAIN = "seventeentrack"
 
string ENTITY_ID_TEMPLATE = "sensor.seventeentrack_package_{0}"
 
 LOGGER = logging.getLogger(__package__)
 
string NOTIFICATION_DELIVERED_ID = "package_delivered_{0}"
 
tuple NOTIFICATION_DELIVERED_MESSAGE
 
string NOTIFICATION_DELIVERED_TITLE = "Package {0} delivered"
 
string SERVICE_ARCHIVE_PACKAGE = "archive_package"
 
string SERVICE_GET_PACKAGES = "get_packages"
 
string UNIQUE_ID_TEMPLATE = "package_{0}_{1}"
 
string VALUE_DELIVERED = "Delivered"
 

Detailed Description

Constants for the 17track.net component.

Variable Documentation

◆ ATTR_CONFIG_ENTRY_ID

string homeassistant.components.seventeentrack.const.ATTR_CONFIG_ENTRY_ID = "config_entry_id"

Definition at line 49 of file const.py.

◆ ATTR_DESTINATION_COUNTRY

string homeassistant.components.seventeentrack.const.ATTR_DESTINATION_COUNTRY = "destination_country"

Definition at line 8 of file const.py.

◆ ATTR_INFO_TEXT

string homeassistant.components.seventeentrack.const.ATTR_INFO_TEXT = "info_text"

Definition at line 9 of file const.py.

◆ ATTR_ORIGIN_COUNTRY

string homeassistant.components.seventeentrack.const.ATTR_ORIGIN_COUNTRY = "origin_country"

Definition at line 11 of file const.py.

◆ ATTR_PACKAGE_STATE

string homeassistant.components.seventeentrack.const.ATTR_PACKAGE_STATE = "package_state"

Definition at line 47 of file const.py.

◆ ATTR_PACKAGE_TRACKING_NUMBER

string homeassistant.components.seventeentrack.const.ATTR_PACKAGE_TRACKING_NUMBER = "package_tracking_number"

Definition at line 48 of file const.py.

◆ ATTR_PACKAGE_TYPE

string homeassistant.components.seventeentrack.const.ATTR_PACKAGE_TYPE = "package_type"

Definition at line 13 of file const.py.

◆ ATTR_PACKAGES

string homeassistant.components.seventeentrack.const.ATTR_PACKAGES = "packages"

Definition at line 12 of file const.py.

◆ ATTR_STATUS

string homeassistant.components.seventeentrack.const.ATTR_STATUS = "status"

Definition at line 14 of file const.py.

◆ ATTR_TIMESTAMP

string homeassistant.components.seventeentrack.const.ATTR_TIMESTAMP = "timestamp"

Definition at line 10 of file const.py.

◆ ATTR_TRACKING_INFO_LANGUAGE

string homeassistant.components.seventeentrack.const.ATTR_TRACKING_INFO_LANGUAGE = "tracking_info_language"

Definition at line 15 of file const.py.

◆ ATTR_TRACKING_NUMBER

string homeassistant.components.seventeentrack.const.ATTR_TRACKING_NUMBER = "tracking_number"

Definition at line 16 of file const.py.

◆ ATTRIBUTION

string homeassistant.components.seventeentrack.const.ATTRIBUTION = "Data provided by 17track.net"

Definition at line 29 of file const.py.

◆ CONF_SHOW_ARCHIVED

string homeassistant.components.seventeentrack.const.CONF_SHOW_ARCHIVED = "show_archived"

Definition at line 18 of file const.py.

◆ CONF_SHOW_DELIVERED

string homeassistant.components.seventeentrack.const.CONF_SHOW_DELIVERED = "show_delivered"

Definition at line 19 of file const.py.

◆ DATA_PACKAGES

string homeassistant.components.seventeentrack.const.DATA_PACKAGES = "package_data"

Definition at line 26 of file const.py.

◆ DATA_SUMMARY

string homeassistant.components.seventeentrack.const.DATA_SUMMARY = "summary_data"

Definition at line 27 of file const.py.

◆ DEFAULT_SCAN_INTERVAL

homeassistant.components.seventeentrack.const.DEFAULT_SCAN_INTERVAL = timedelta(minutes=10)

Definition at line 30 of file const.py.

◆ DEFAULT_SHOW_ARCHIVED

bool homeassistant.components.seventeentrack.const.DEFAULT_SHOW_ARCHIVED = False

Definition at line 21 of file const.py.

◆ DEFAULT_SHOW_DELIVERED

bool homeassistant.components.seventeentrack.const.DEFAULT_SHOW_DELIVERED = False

Definition at line 22 of file const.py.

◆ DEPRECATED_KEY

string homeassistant.components.seventeentrack.const.DEPRECATED_KEY = "deprecated"

Definition at line 52 of file const.py.

◆ DOMAIN

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

Definition at line 24 of file const.py.

◆ ENTITY_ID_TEMPLATE

string homeassistant.components.seventeentrack.const.ENTITY_ID_TEMPLATE = "sensor.seventeentrack_package_{0}"

Definition at line 33 of file const.py.

◆ LOGGER

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

Definition at line 6 of file const.py.

◆ NOTIFICATION_DELIVERED_ID

string homeassistant.components.seventeentrack.const.NOTIFICATION_DELIVERED_ID = "package_delivered_{0}"

Definition at line 35 of file const.py.

◆ NOTIFICATION_DELIVERED_MESSAGE

tuple homeassistant.components.seventeentrack.const.NOTIFICATION_DELIVERED_MESSAGE
Initial value:
1 = (
2  "Package Delivered: {0}<br />Visit 17.track for more information: "
3  "https://t.17track.net/track#nums={1}"
4 )

Definition at line 37 of file const.py.

◆ NOTIFICATION_DELIVERED_TITLE

string homeassistant.components.seventeentrack.const.NOTIFICATION_DELIVERED_TITLE = "Package {0} delivered"

Definition at line 36 of file const.py.

◆ SERVICE_ARCHIVE_PACKAGE

string homeassistant.components.seventeentrack.const.SERVICE_ARCHIVE_PACKAGE = "archive_package"

Definition at line 45 of file const.py.

◆ SERVICE_GET_PACKAGES

string homeassistant.components.seventeentrack.const.SERVICE_GET_PACKAGES = "get_packages"

Definition at line 44 of file const.py.

◆ UNIQUE_ID_TEMPLATE

string homeassistant.components.seventeentrack.const.UNIQUE_ID_TEMPLATE = "package_{0}_{1}"

Definition at line 32 of file const.py.

◆ VALUE_DELIVERED

string homeassistant.components.seventeentrack.const.VALUE_DELIVERED = "Delivered"

Definition at line 42 of file const.py.