forked from marthoc/homeseer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconst.py
40 lines (33 loc) · 815 Bytes
/
const.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""
Constants for the HomeSeer component.
"""
import logging
_LOGGER = logging.getLogger(__name__)
DOMAIN = "homeseer"
ATTR_REF = "ref"
ATTR_VALUE = "value"
CONF_HTTP_PORT = "http_port"
CONF_ASCII_PORT = "ascii_port"
CONF_ALLOW_EVENTS = "allow_events"
CONF_NAMESPACE = "namespace"
CONF_NAME_TEMPLATE = "name_template"
CONF_FORCED_BLINDS = "forced_blinds"
DATA_CLIENT = "homeseer_client"
DEFAULT_HTTP_PORT = 80
DEFAULT_PASSWORD = "xleter"
DEFAULT_USERNAME = "admin"
DEFAULT_ASCII_PORT = 11000
DEFAULT_NAME_TEMPLATE = "{{ device.location }} {{ device.name }}"
DEFAULT_ALLOW_EVENTS = True
DEFAULT_NAMESPACE = "homeseer"
DEFAULT_NAME = "Homeseer"
DEFAULT_HOST = "salix.home.rhusoft.com"
HOMESEER_PLATFORMS = [
"binary_sensor",
"cover",
"light",
"lock",
"scene",
"sensor",
"switch",
]