-
Notifications
You must be signed in to change notification settings - Fork 54
/
const.py
44 lines (35 loc) · 1.19 KB
/
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
41
42
43
44
"""Constants for nibe uplink."""
ATTR_TARGET_TEMPERATURE = "target_temperature"
ATTR_VALVE_POSITION = "valve_position"
DOMAIN = "nibe"
DATA_NIBE_ENTRIES = "nibe.entries"
DATA_NIBE_CONFIG = "nibe.config"
CONF_CLIENT_ID = "client_id"
CONF_CLIENT_SECRET = "client_secret"
CONF_REDIRECT_URI = "redirect_uri"
CONF_WRITEACCESS = "writeaccess"
CONF_ACCESS_DATA = "access_data"
CONF_SENSORS = "sensors"
CONF_SYSTEMS = "systems"
CONF_SYSTEM = "system"
CONF_UNITS = "units"
CONF_CLIMATES = "climates"
CONF_SWITCHES = "switches"
CONF_BINARY_SENSORS = "binary_sensors"
CONF_CODE = "code"
CONF_WATER_HEATERS = "water_heaters"
CONF_THERMOSTATS = "thermostats"
CONF_CURRENT_TEMPERATURE = "current_temperature"
CONF_VALVE_POSITION = "valve_position"
CONF_CLIMATE_SYSTEMS = "systems"
CONF_FANS = "fans"
AUTH_CALLBACK_URL = "/api/nibe/auth"
AUTH_CALLBACK_NAME = "api:nibe:auth"
CONF_UPLINK_APPLICATION_URL = "https://api.nibeuplink.com/Applications"
SERVICE_SET_SMARTHOME_MODE = "set_smarthome_mode"
SERVICE_SET_PARAMETER = "set_parameter"
SERVICE_GET_PARAMETER = "get_parameter"
SERVICE_SET_THERMOSTAT = "set_thermostat"
SIGNAL_STATUSES_UPDATED = "nibe.statuses_updated"
SCAN_INTERVAL = 30
DEFAULT_THERMOSTAT_TEMPERATURE = 22