ESPHome  2024.10.2
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...
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::lock
 

Enumerations

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...
 

Functions

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