core/homeassistant/components/lock/const.py

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"