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

Variables

string CONF_ENCODING = "encoding"
 
string CONF_JSON_ATTRS = "json_attributes"
 
string CONF_JSON_ATTRS_PATH = "json_attributes_path"
 
string CONF_PAYLOAD_TEMPLATE = "payload_template"
 
string CONF_SSL_CIPHER_LIST = "ssl_cipher_list"
 
string COORDINATOR = "coordinator"
 
string DEFAULT_BINARY_SENSOR_NAME = "REST Binary Sensor"
 
string DEFAULT_ENCODING = "UTF-8"
 
bool DEFAULT_FORCE_UPDATE = False
 
string DEFAULT_METHOD = "GET"
 
string DEFAULT_SENSOR_NAME = "REST Sensor"
 
 DEFAULT_SSL_CIPHER_LIST = SSLCipherList.PYTHON_DEFAULT
 
bool DEFAULT_VERIFY_SSL = True
 
string DOMAIN = "rest"
 
list METHODS = ["POST", "GET"]
 
string PLATFORM_IDX = "platform_idx"
 
string REST = "rest"
 
string REST_DATA = "rest_data"
 
string REST_IDX = "rest_idx"
 
tuple XML_MIME_TYPES
 

Detailed Description

The rest component constants.

Variable Documentation

◆ CONF_ENCODING

string homeassistant.components.rest.const.CONF_ENCODING = "encoding"

Definition at line 12 of file const.py.

◆ CONF_JSON_ATTRS

string homeassistant.components.rest.const.CONF_JSON_ATTRS = "json_attributes"

Definition at line 17 of file const.py.

◆ CONF_JSON_ATTRS_PATH

string homeassistant.components.rest.const.CONF_JSON_ATTRS_PATH = "json_attributes_path"

Definition at line 18 of file const.py.

◆ CONF_PAYLOAD_TEMPLATE

string homeassistant.components.rest.const.CONF_PAYLOAD_TEMPLATE = "payload_template"

Definition at line 37 of file const.py.

◆ CONF_SSL_CIPHER_LIST

string homeassistant.components.rest.const.CONF_SSL_CIPHER_LIST = "ssl_cipher_list"

Definition at line 13 of file const.py.

◆ COORDINATOR

string homeassistant.components.rest.const.COORDINATOR = "coordinator"

Definition at line 23 of file const.py.

◆ DEFAULT_BINARY_SENSOR_NAME

string homeassistant.components.rest.const.DEFAULT_BINARY_SENSOR_NAME = "REST Binary Sensor"

Definition at line 15 of file const.py.

◆ DEFAULT_ENCODING

string homeassistant.components.rest.const.DEFAULT_ENCODING = "UTF-8"

Definition at line 11 of file const.py.

◆ DEFAULT_FORCE_UPDATE

bool homeassistant.components.rest.const.DEFAULT_FORCE_UPDATE = False

Definition at line 10 of file const.py.

◆ DEFAULT_METHOD

string homeassistant.components.rest.const.DEFAULT_METHOD = "GET"

Definition at line 7 of file const.py.

◆ DEFAULT_SENSOR_NAME

string homeassistant.components.rest.const.DEFAULT_SENSOR_NAME = "REST Sensor"

Definition at line 16 of file const.py.

◆ DEFAULT_SSL_CIPHER_LIST

homeassistant.components.rest.const.DEFAULT_SSL_CIPHER_LIST = SSLCipherList.PYTHON_DEFAULT

Definition at line 9 of file const.py.

◆ DEFAULT_VERIFY_SSL

bool homeassistant.components.rest.const.DEFAULT_VERIFY_SSL = True

Definition at line 8 of file const.py.

◆ DOMAIN

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

Definition at line 5 of file const.py.

◆ METHODS

list homeassistant.components.rest.const.METHODS = ["POST", "GET"]

Definition at line 28 of file const.py.

◆ PLATFORM_IDX

string homeassistant.components.rest.const.PLATFORM_IDX = "platform_idx"

Definition at line 21 of file const.py.

◆ REST

string homeassistant.components.rest.const.REST = "rest"

Definition at line 24 of file const.py.

◆ REST_DATA

string homeassistant.components.rest.const.REST_DATA = "rest_data"

Definition at line 26 of file const.py.

◆ REST_IDX

string homeassistant.components.rest.const.REST_IDX = "rest_idx"

Definition at line 20 of file const.py.

◆ XML_MIME_TYPES

tuple homeassistant.components.rest.const.XML_MIME_TYPES
Initial value:
1 = (
2  "application/rss+xml",
3  "application/xhtml+xml",
4  "application/xml",
5  "text/xml",
6 )

Definition at line 30 of file const.py.