Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for Nuki."""
2
3
DOMAIN =
"nuki"
4
5
# Attributes
6
ATTR_BATTERY_CRITICAL =
"battery_critical"
7
ATTR_NUKI_ID =
"nuki_id"
8
ATTR_ENABLE =
"enable"
9
ATTR_UNLATCH =
"unlatch"
10
11
# Defaults
12
DEFAULT_PORT = 8080
13
DEFAULT_TIMEOUT = 20
14
15
ERROR_STATES = (0, 254, 255)
16
17
# Encrypt token, instead of using a plaintext token
18
CONF_ENCRYPT_TOKEN =
"encrypt_token"
core
homeassistant
components
nuki
const.py
Generated by
1.9.1