mirror of
https://github.com/home-assistant/core.git
synced 2026-07-02 04:06:41 +01:00
27 lines
549 B
Python
27 lines
549 B
Python
"""Constants for the BleBox devices integration."""
|
|
|
|
DOMAIN = "blebox"
|
|
|
|
DEFAULT_SETUP_TIMEOUT = 10
|
|
|
|
# translation strings
|
|
ADDRESS_ALREADY_CONFIGURED = "address_already_configured"
|
|
CANNOT_CONNECT = "cannot_connect"
|
|
UNSUPPORTED_VERSION = "unsupported_version"
|
|
UNKNOWN = "unknown"
|
|
|
|
|
|
DEFAULT_HOST = "192.168.0.2"
|
|
DEFAULT_PORT = 80
|
|
|
|
OPEN_STATUS: dict[int, str] = {
|
|
0: "open",
|
|
1: "unclosed_or_unlocked",
|
|
2: "ajar",
|
|
3: "closed_but_unlocked",
|
|
4: "closed",
|
|
}
|
|
|
|
LIGHT_MAX_KELVINS = 6500 # 154 Mireds
|
|
LIGHT_MIN_KELVINS = 2700 # 370 Mireds
|