-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconst.py
37 lines (27 loc) · 771 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
"""Constants for the autelis integration."""
import logging
_LOGGER = logging.getLogger(__package__)
DOMAIN = "autelis_pool"
AUTELIS_HOST = "host"
AUTELIS_PASSWORD = "password"
AUTELIS_USERNAME = "admin"
AUTELIS_PLATFORMS = ["sensor", "switch", "climate"] # ["binary_sensor", "climate", "sensor", "weather"]
TEMP_SENSORS = {
"pooltemp": ["Temperature", "Pool"],
"spatemp": ["Temperature", "Spa"],
"airtemp": ["Temperature", "Air"],
"solartemp": ["Temperature", "Solar"],
}
HEAT_SET = {
"Pool Heat": ["pooltemp", "poolsp", "poolht"],
"Spa Heat": ["spatemp", "spasp", "spaht"],
}
CIRCUITS = {
"pump": "Pool",
"spa": "Spa",
"solarht": "Solar Heating",
}
STATE_SERVICE = "service"
STATE_AUTO = "auto"
MAX_TEMP = 104
MIN_TEMP = 34