Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Lutron Caseta constants."""
2 
3 DOMAIN = "lutron_caseta"
4 
5 CONF_KEYFILE = "keyfile"
6 CONF_CERTFILE = "certfile"
7 CONF_CA_CERTS = "ca_certs"
8 
9 STEP_IMPORT_FAILED = "import_failed"
10 ERROR_CANNOT_CONNECT = "cannot_connect"
11 ABORT_REASON_CANNOT_CONNECT = "cannot_connect"
12 
13 LUTRON_CASETA_BUTTON_EVENT = "lutron_caseta_button_event"
14 
15 BRIDGE_DEVICE_ID = "1"
16 
17 DEVICE_TYPE_WHITE_TUNE = "WhiteTune"
18 DEVICE_TYPE_SPECTRUM_TUNE = "SpectrumTune"
19 
20 MANUFACTURER = "Lutron Electronics Co., Inc"
21 
22 ATTR_SERIAL = "serial"
23 ATTR_TYPE = "type"
24 ATTR_BUTTON_TYPE = "button_type"
25 ATTR_LEAP_BUTTON_NUMBER = "leap_button_number"
26 ATTR_BUTTON_NUMBER = "button_number" # LIP button number
27 ATTR_DEVICE_NAME = "device_name"
28 ATTR_AREA_NAME = "area_name"
29 ATTR_ACTION = "action"
30 
31 ACTION_PRESS = "press"
32 ACTION_RELEASE = "release"
33 
34 CONF_SUBTYPE = "subtype"
35 
36 BRIDGE_TIMEOUT = 35
37 
38 UNASSIGNED_AREA = "Unassigned"
39 
40 CONFIG_URL = "https://device-login.lutron.com"