mirror of https://github.com/home-assistant/core
18 lines
316 B
Python
18 lines
316 B
Python
"""Constants for the lock entity platform."""
|
|
|
|
from enum import StrEnum
|
|
|
|
DOMAIN = "lock"
|
|
|
|
|
|
class LockState(StrEnum):
|
|
"""State of lock entities."""
|
|
|
|
JAMMED = "jammed"
|
|
OPENING = "opening"
|
|
LOCKING = "locking"
|
|
OPEN = "open"
|
|
UNLOCKING = "unlocking"
|
|
LOCKED = "locked"
|
|
UNLOCKED = "unlocked"
|