ESPHome  2024.6.1
Data Structures | Namespaces | Enumerations | Functions
lock.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::lock::LockTraits
class  esphome::lock::LockCall
 This class is used to encode all control actions on a lock device. More...
class  esphome::lock::Lock
 Base class for all locks. More...


 This is a workaround until we can figure out a way to get the tflite-micro idf component code available in CI.


enum  esphome::lock::LockState : uint8_t {
  esphome::lock::LOCK_STATE_NONE = 0, esphome::lock::LOCK_STATE_LOCKED = 1, esphome::lock::LOCK_STATE_UNLOCKED = 2, esphome::lock::LOCK_STATE_JAMMED = 3,
  esphome::lock::LOCK_STATE_LOCKING = 4, esphome::lock::LOCK_STATE_UNLOCKING = 5
 Enum for all states a lock can be in. More...


const char * esphome::lock::lock_state_to_string (LockState state)