Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lcn.const Namespace Reference

Variables

string ADD_ENTITIES_CALLBACKS = "add_entities_callbacks"
 
list BINSENSOR_PORTS
 
string CONF_ACKNOWLEDGE = "acknowledge"
 
string CONF_CLIMATES = "climates"
 
string CONF_CONNECTIONS = "connections"
 
string CONF_DIM_MODE = "dim_mode"
 
string CONF_DIMMABLE = "dimmable"
 
string CONF_DOMAIN_DATA = "domain_data"
 
string CONF_HARDWARE_SERIAL = "hardware_serial"
 
string CONF_HARDWARE_TYPE = "hardware_type"
 
string CONF_KEYS = "keys"
 
string CONF_LED = "led"
 
string CONF_LOCK_TIME = "lock_time"
 
string CONF_LOCKABLE = "lockable"
 
string CONF_MAX_TEMP = "max_temp"
 
string CONF_MIN_TEMP = "min_temp"
 
string CONF_MOTOR = "motor"
 
string CONF_OUTPUT = "output"
 
string CONF_OUTPUTS = "outputs"
 
string CONF_PCK = "pck"
 
string CONF_REGISTER = "register"
 
string CONF_RELVARREF = "value_reference"
 
string CONF_REVERSE_TIME = "reverse_time"
 
string CONF_ROW = "row"
 
string CONF_SCENES = "scenes"
 
string CONF_SETPOINT = "setpoint"
 
string CONF_SK_NUM_TRIES = "sk_num_tries"
 
string CONF_SOFTWARE_SERIAL = "software_serial"
 
string CONF_TABLE = "table"
 
string CONF_TEXT = "text"
 
string CONF_TIME = "time"
 
string CONF_TIME_UNIT = "time_unit"
 
string CONF_TRANSITION = "transition"
 
string CONF_VALUE = "value"
 
string CONF_VARIABLE = "variable"
 
string CONNECTION = "connection"
 
string DATA_LCN = "lcn"
 
string DEFAULT_NAME = "pchk"
 
list DIM_MODES = ["STEPS50", "STEPS200"]
 
string DOMAIN = "lcn"
 
list KEY_ACTIONS = ["HIT", "MAKE", "BREAK"]
 
list KEYS = [f"{t[0]:s}{t[1]:d}" for t in product(["A", "B", "C", "D"], range(1, 9))]
 
list LED_PORTS
 
list LED_STATUS = ["OFF", "ON", "BLINK", "FLICKER"]
 
list LOGICOP_PORTS = ["LOGICOP1", "LOGICOP2", "LOGICOP3", "LOGICOP4"]
 
list MOTOR_PORTS = ["MOTOR1", "MOTOR2", "MOTOR3", "MOTOR4", "OUTPUTS"]
 
list MOTOR_REVERSE_TIME = ["RT70", "RT600", "RT1200"]
 
list OUTPUT_PORTS = ["OUTPUT1", "OUTPUT2", "OUTPUT3", "OUTPUT4"]
 
list PLATFORMS
 
list RELAY_PORTS
 
list RELVARREF = ["CURRENT", "PROG"]
 
list S0_INPUTS = ["S0INPUT1", "S0INPUT2", "S0INPUT3", "S0INPUT4"]
 
list SENDKEYCOMMANDS = ["HIT", "MAKE", "BREAK", "DONTSEND"]
 
list SENDKEYS
 
list SETPOINTS = ["R1VARSETPOINT", "R2VARSETPOINT"]
 
list THRESHOLDS
 
list TIME_UNITS
 
list VAR_UNITS
 
list VARIABLES
 

Detailed Description

Constants for the LCN component.

Variable Documentation

◆ ADD_ENTITIES_CALLBACKS

string homeassistant.components.lcn.const.ADD_ENTITIES_CALLBACKS = "add_entities_callbacks"

Definition at line 21 of file const.py.

◆ BINSENSOR_PORTS

list homeassistant.components.lcn.const.BINSENSOR_PORTS
Initial value:
1 = [
2  "BINSENSOR1",
3  "BINSENSOR2",
4  "BINSENSOR3",
5  "BINSENSOR4",
6  "BINSENSOR5",
7  "BINSENSOR6",
8  "BINSENSOR7",
9  "BINSENSOR8",
10 ]

Definition at line 102 of file const.py.

◆ CONF_ACKNOWLEDGE

string homeassistant.components.lcn.const.CONF_ACKNOWLEDGE = "acknowledge"

Definition at line 28 of file const.py.

◆ CONF_CLIMATES

string homeassistant.components.lcn.const.CONF_CLIMATES = "climates"

Definition at line 50 of file const.py.

◆ CONF_CONNECTIONS

string homeassistant.components.lcn.const.CONF_CONNECTIONS = "connections"

Definition at line 29 of file const.py.

◆ CONF_DIM_MODE

string homeassistant.components.lcn.const.CONF_DIM_MODE = "dim_mode"

Definition at line 32 of file const.py.

◆ CONF_DIMMABLE

string homeassistant.components.lcn.const.CONF_DIMMABLE = "dimmable"

Definition at line 33 of file const.py.

◆ CONF_DOMAIN_DATA

string homeassistant.components.lcn.const.CONF_DOMAIN_DATA = "domain_data"

Definition at line 26 of file const.py.

◆ CONF_HARDWARE_SERIAL

string homeassistant.components.lcn.const.CONF_HARDWARE_SERIAL = "hardware_serial"

Definition at line 23 of file const.py.

◆ CONF_HARDWARE_TYPE

string homeassistant.components.lcn.const.CONF_HARDWARE_TYPE = "hardware_type"

Definition at line 25 of file const.py.

◆ CONF_KEYS

string homeassistant.components.lcn.const.CONF_KEYS = "keys"

Definition at line 42 of file const.py.

◆ CONF_LED

string homeassistant.components.lcn.const.CONF_LED = "led"

Definition at line 41 of file const.py.

◆ CONF_LOCK_TIME

string homeassistant.components.lcn.const.CONF_LOCK_TIME = "lock_time"

Definition at line 45 of file const.py.

◆ CONF_LOCKABLE

string homeassistant.components.lcn.const.CONF_LOCKABLE = "lockable"

Definition at line 36 of file const.py.

◆ CONF_MAX_TEMP

string homeassistant.components.lcn.const.CONF_MAX_TEMP = "max_temp"

Definition at line 51 of file const.py.

◆ CONF_MIN_TEMP

string homeassistant.components.lcn.const.CONF_MIN_TEMP = "min_temp"

Definition at line 52 of file const.py.

◆ CONF_MOTOR

string homeassistant.components.lcn.const.CONF_MOTOR = "motor"

Definition at line 35 of file const.py.

◆ CONF_OUTPUT

string homeassistant.components.lcn.const.CONF_OUTPUT = "output"

Definition at line 31 of file const.py.

◆ CONF_OUTPUTS

string homeassistant.components.lcn.const.CONF_OUTPUTS = "outputs"

Definition at line 55 of file const.py.

◆ CONF_PCK

string homeassistant.components.lcn.const.CONF_PCK = "pck"

Definition at line 49 of file const.py.

◆ CONF_REGISTER

string homeassistant.components.lcn.const.CONF_REGISTER = "register"

Definition at line 54 of file const.py.

◆ CONF_RELVARREF

string homeassistant.components.lcn.const.CONF_RELVARREF = "value_reference"

Definition at line 39 of file const.py.

◆ CONF_REVERSE_TIME

string homeassistant.components.lcn.const.CONF_REVERSE_TIME = "reverse_time"

Definition at line 56 of file const.py.

◆ CONF_ROW

string homeassistant.components.lcn.const.CONF_ROW = "row"

Definition at line 47 of file const.py.

◆ CONF_SCENES

string homeassistant.components.lcn.const.CONF_SCENES = "scenes"

Definition at line 53 of file const.py.

◆ CONF_SETPOINT

string homeassistant.components.lcn.const.CONF_SETPOINT = "setpoint"

Definition at line 40 of file const.py.

◆ CONF_SK_NUM_TRIES

string homeassistant.components.lcn.const.CONF_SK_NUM_TRIES = "sk_num_tries"

Definition at line 30 of file const.py.

◆ CONF_SOFTWARE_SERIAL

string homeassistant.components.lcn.const.CONF_SOFTWARE_SERIAL = "software_serial"

Definition at line 24 of file const.py.

◆ CONF_TABLE

string homeassistant.components.lcn.const.CONF_TABLE = "table"

Definition at line 46 of file const.py.

◆ CONF_TEXT

string homeassistant.components.lcn.const.CONF_TEXT = "text"

Definition at line 48 of file const.py.

◆ CONF_TIME

string homeassistant.components.lcn.const.CONF_TIME = "time"

Definition at line 43 of file const.py.

◆ CONF_TIME_UNIT

string homeassistant.components.lcn.const.CONF_TIME_UNIT = "time_unit"

Definition at line 44 of file const.py.

◆ CONF_TRANSITION

string homeassistant.components.lcn.const.CONF_TRANSITION = "transition"

Definition at line 34 of file const.py.

◆ CONF_VALUE

string homeassistant.components.lcn.const.CONF_VALUE = "value"

Definition at line 38 of file const.py.

◆ CONF_VARIABLE

string homeassistant.components.lcn.const.CONF_VARIABLE = "variable"

Definition at line 37 of file const.py.

◆ CONNECTION

string homeassistant.components.lcn.const.CONNECTION = "connection"

Definition at line 22 of file const.py.

◆ DATA_LCN

string homeassistant.components.lcn.const.DATA_LCN = "lcn"

Definition at line 18 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.lcn.const.DEFAULT_NAME = "pchk"

Definition at line 19 of file const.py.

◆ DIM_MODES

list homeassistant.components.lcn.const.DIM_MODES = ["STEPS50", "STEPS200"]

Definition at line 58 of file const.py.

◆ DOMAIN

string homeassistant.components.lcn.const.DOMAIN = "lcn"

Definition at line 17 of file const.py.

◆ KEY_ACTIONS

list homeassistant.components.lcn.const.KEY_ACTIONS = ["HIT", "MAKE", "BREAK"]

Definition at line 217 of file const.py.

◆ KEYS

list homeassistant.components.lcn.const.KEYS = [f"{t[0]:s}{t[1]:d}" for t in product(["A", "B", "C", "D"], range(1, 9))]

Definition at line 113 of file const.py.

◆ LED_PORTS

list homeassistant.components.lcn.const.LED_PORTS
Initial value:
1 = [
2  "LED1",
3  "LED2",
4  "LED3",
5  "LED4",
6  "LED5",
7  "LED6",
8  "LED7",
9  "LED8",
10  "LED9",
11  "LED10",
12  "LED11",
13  "LED12",
14 ]

Definition at line 83 of file const.py.

◆ LED_STATUS

list homeassistant.components.lcn.const.LED_STATUS = ["OFF", "ON", "BLINK", "FLICKER"]

Definition at line 98 of file const.py.

◆ LOGICOP_PORTS

list homeassistant.components.lcn.const.LOGICOP_PORTS = ["LOGICOP1", "LOGICOP2", "LOGICOP3", "LOGICOP4"]

Definition at line 100 of file const.py.

◆ MOTOR_PORTS

list homeassistant.components.lcn.const.MOTOR_PORTS = ["MOTOR1", "MOTOR2", "MOTOR3", "MOTOR4", "OUTPUTS"]

Definition at line 81 of file const.py.

◆ MOTOR_REVERSE_TIME

list homeassistant.components.lcn.const.MOTOR_REVERSE_TIME = ["RT70", "RT600", "RT1200"]

Definition at line 236 of file const.py.

◆ OUTPUT_PORTS

list homeassistant.components.lcn.const.OUTPUT_PORTS = ["OUTPUT1", "OUTPUT2", "OUTPUT3", "OUTPUT4"]

Definition at line 60 of file const.py.

◆ PLATFORMS

list homeassistant.components.lcn.const.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.CLIMATE,
4  Platform.COVER,
5  Platform.LIGHT,
6  Platform.SCENE,
7  Platform.SENSOR,
8  Platform.SWITCH,
9 ]

Definition at line 7 of file const.py.

◆ RELAY_PORTS

list homeassistant.components.lcn.const.RELAY_PORTS
Initial value:
1 = [
2  "RELAY1",
3  "RELAY2",
4  "RELAY3",
5  "RELAY4",
6  "RELAY5",
7  "RELAY6",
8  "RELAY7",
9  "RELAY8",
10  "MOTORONOFF1",
11  "MOTORUPDOWN1",
12  "MOTORONOFF2",
13  "MOTORUPDOWN2",
14  "MOTORONOFF3",
15  "MOTORUPDOWN3",
16  "MOTORONOFF4",
17  "MOTORUPDOWN4",
18 ]

Definition at line 62 of file const.py.

◆ RELVARREF

list homeassistant.components.lcn.const.RELVARREF = ["CURRENT", "PROG"]

Definition at line 186 of file const.py.

◆ S0_INPUTS

list homeassistant.components.lcn.const.S0_INPUTS = ["S0INPUT1", "S0INPUT2", "S0INPUT3", "S0INPUT4"]

Definition at line 158 of file const.py.

◆ SENDKEYCOMMANDS

list homeassistant.components.lcn.const.SENDKEYCOMMANDS = ["HIT", "MAKE", "BREAK", "DONTSEND"]

Definition at line 188 of file const.py.

◆ SENDKEYS

list homeassistant.components.lcn.const.SENDKEYS
Initial value:
1 = [
2  "A1",
3  "A2",
4  "A3",
5  "A4",
6  "A5",
7  "A6",
8  "A7",
9  "A8",
10  "B1",
11  "B2",
12  "B3",
13  "B4",
14  "B5",
15  "B6",
16  "B7",
17  "B8",
18  "C1",
19  "C2",
20  "C3",
21  "C4",
22  "C5",
23  "C6",
24  "C7",
25  "C8",
26 ]

Definition at line 190 of file const.py.

◆ SETPOINTS

list homeassistant.components.lcn.const.SETPOINTS = ["R1VARSETPOINT", "R2VARSETPOINT"]

Definition at line 136 of file const.py.

◆ THRESHOLDS

list homeassistant.components.lcn.const.THRESHOLDS
Initial value:
1 = [
2  "THRS1",
3  "THRS2",
4  "THRS3",
5  "THRS4",
6  "THRS5",
7  "THRS2_1",
8  "THRS2_2",
9  "THRS2_3",
10  "THRS2_4",
11  "THRS3_1",
12  "THRS3_2",
13  "THRS3_3",
14  "THRS3_4",
15  "THRS4_1",
16  "THRS4_2",
17  "THRS4_3",
18  "THRS4_4",
19 ]

Definition at line 138 of file const.py.

◆ TIME_UNITS

list homeassistant.components.lcn.const.TIME_UNITS
Initial value:
1 = [
2  "SECONDS",
3  "SECOND",
4  "SEC",
5  "S",
6  "MINUTES",
7  "MINUTE",
8  "MIN",
9  "M",
10  "HOURS",
11  "HOUR",
12  "H",
13  "DAYS",
14  "DAY",
15  "D",
16 ]

Definition at line 219 of file const.py.

◆ VAR_UNITS

list homeassistant.components.lcn.const.VAR_UNITS
Initial value:
1 = [
2  "",
3  "LCN",
4  "NATIVE",
5  "°C",
6  "K",
7  "°F",
8  "LUX_T",
9  "LX_T",
10  "LUX_I",
11  "LUX",
12  "LX",
13  "M/S",
14  "METERPERSECOND",
15  "%",
16  "PERCENT",
17  "PPM",
18  "VOLT",
19  "V",
20  "AMPERE",
21  "AMP",
22  "A",
23  "DEGREE",
24  "°",
25 ]

Definition at line 160 of file const.py.

◆ VARIABLES

list homeassistant.components.lcn.const.VARIABLES
Initial value:
1 = [
2  "VAR1ORTVAR",
3  "VAR2ORR1VAR",
4  "VAR3ORR2VAR",
5  "TVAR",
6  "R1VAR",
7  "R2VAR",
8  "VAR1",
9  "VAR2",
10  "VAR3",
11  "VAR4",
12  "VAR5",
13  "VAR6",
14  "VAR7",
15  "VAR8",
16  "VAR9",
17  "VAR10",
18  "VAR11",
19  "VAR12",
20 ]

Definition at line 115 of file const.py.