21 lines
400 B
Python
21 lines
400 B
Python
"""Constants for Nuki."""
|
|
DOMAIN = "nuki"
|
|
|
|
# Attributes
|
|
ATTR_BATTERY_CRITICAL = "battery_critical"
|
|
ATTR_NUKI_ID = "nuki_id"
|
|
ATTR_ENABLE = "enable"
|
|
ATTR_UNLATCH = "unlatch"
|
|
|
|
# Data
|
|
DATA_BRIDGE = "nuki_bridge_data"
|
|
DATA_LOCKS = "nuki_locks_data"
|
|
DATA_OPENERS = "nuki_openers_data"
|
|
DATA_COORDINATOR = "nuki_coordinator"
|
|
|
|
# Defaults
|
|
DEFAULT_PORT = 8080
|
|
DEFAULT_TIMEOUT = 20
|
|
|
|
ERROR_STATES = (0, 254, 255)
|