Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the lock entity platform."""
2
3
from
enum
import
StrEnum
4
5
DOMAIN =
"lock"
6
7
8
class
LockState
(StrEnum):
9
"""State of lock entities."""
10
11
JAMMED =
"jammed"
12
OPENING =
"opening"
13
LOCKING =
"locking"
14
OPEN =
"open"
15
UNLOCKING =
"unlocking"
16
LOCKED =
"locked"
17
UNLOCKED =
"unlocked"
homeassistant.components.lock.const .LockState
Definition:
const.py:8
core
homeassistant
components
lock
const.py
Generated by
1.9.1