Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""The rest component constants."""
2
3
from
homeassistant.util.ssl
import
SSLCipherList
4
5
DOMAIN =
"rest"
6
7
DEFAULT_METHOD =
"GET"
8
DEFAULT_VERIFY_SSL =
True
9
DEFAULT_SSL_CIPHER_LIST = SSLCipherList.PYTHON_DEFAULT
10
DEFAULT_FORCE_UPDATE =
False
11
DEFAULT_ENCODING =
"UTF-8"
12
CONF_ENCODING =
"encoding"
13
CONF_SSL_CIPHER_LIST =
"ssl_cipher_list"
14
15
DEFAULT_BINARY_SENSOR_NAME =
"REST Binary Sensor"
16
DEFAULT_SENSOR_NAME =
"REST Sensor"
17
CONF_JSON_ATTRS =
"json_attributes"
18
CONF_JSON_ATTRS_PATH =
"json_attributes_path"
19
20
REST_IDX =
"rest_idx"
21
PLATFORM_IDX =
"platform_idx"
22
23
COORDINATOR =
"coordinator"
24
REST =
"rest"
25
26
REST_DATA =
"rest_data"
27
28
METHODS = [
"POST"
,
"GET"
]
29
30
XML_MIME_TYPES = (
31
"application/rss+xml"
,
32
"application/xhtml+xml"
,
33
"application/xml"
,
34
"text/xml"
,
35
)
36
37
CONF_PAYLOAD_TEMPLATE =
"payload_template"
homeassistant.util.ssl
Definition:
ssl.py:1
core
homeassistant
components
rest
const.py
Generated by
1.9.1