ESPHome 2025.5.0
Loading...
Searching...
No Matches
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

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  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)