const
eq3btsmart.const
#
Constants for the eq3btsmart library.
EQ3_DEFAULT_AWAY_TEMP
module-attribute
#
EQ3_DEFAULT_AWAY_TEMP = 12.0
The initial comfort temperature in degrees Celsius.
EQ3_DEFAULT_COMFORT_TEMP
module-attribute
#
EQ3_DEFAULT_COMFORT_TEMP = 21.0
The initial eco temperature in degrees Celsius.
EQ3_DEFAULT_ECO_TEMP
module-attribute
#
EQ3_DEFAULT_ECO_TEMP = 17.0
The initial window open temperature in degrees Celsius.
EQ3_DEFAULT_WINDOW_OPEN_TEMP
module-attribute
#
EQ3_DEFAULT_WINDOW_OPEN_TEMP = 12.0
The initial window open duration in minutes.
EQ3_DEFAULT_WINDOW_OPEN_DURATION
module-attribute
#
EQ3_DEFAULT_WINDOW_OPEN_DURATION = 15
The initial offset temperature in degrees Celsius.
EQ3_DEFAULT_OFFSET_TEMP
module-attribute
#
EQ3_DEFAULT_OFFSET_TEMP = 0.0
The minimum temperature that is still displayed as a temperature in degrees Celsius.
EQ3_MIN_TEMP
module-attribute
#
EQ3_MIN_TEMP = 5.0
The maximum temperature that is still displayed as a temperature in degrees Celsius.
EQ3_ON_TEMP
module-attribute
#
EQ3_ON_TEMP = 30.0
The minimum offset temperature in degrees Celsius.
EQ3_MIN_OFFSET
module-attribute
#
EQ3_MIN_OFFSET = -3.5
The maximum offset temperature in degrees Celsius.
DEFAULT_CONNECTION_TIMEOUT
module-attribute
#
DEFAULT_CONNECTION_TIMEOUT = 10
The default command timeout in seconds.
Eq3Event
#
Bases: StrEnum
Event type enumeration.
Source code in eq3btsmart/const.py
72 73 74 75 76 77 78 79 |
|
Eq3OperationMode
#
Bases: IntEnum
Operation mode enumeration.
Source code in eq3btsmart/const.py
82 83 84 85 86 87 88 89 |
|
Eq3Preset
#
Eq3WeekDay
#
Bases: EnumBase
Week day enumeration.
Source code in eq3btsmart/const.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
|
from_index
classmethod
#
from_index(index)
Return the enum value for the given index.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index
|
int
|
The index of the week day starting with 0 for Monday. |
required |
Returns:
Type | Description |
---|---|
Self
|
The corresponding enum value. |
Source code in eq3btsmart/const.py
110 111 112 113 114 115 116 117 118 119 120 121 |
|