#include <lock.h>
Definition at line 36 of file lock.h.
◆ LockTraits()
esphome::lock::LockTraits::LockTraits |
( |
| ) |
|
|
default |
◆ add_supported_state()
void esphome::lock::LockTraits::add_supported_state |
( |
LockState |
state | ) |
|
|
inline |
◆ get_assumed_state()
bool esphome::lock::LockTraits::get_assumed_state |
( |
| ) |
const |
|
inline |
◆ get_requires_code()
bool esphome::lock::LockTraits::get_requires_code |
( |
| ) |
const |
|
inline |
◆ get_supported_states()
std::set<LockState> esphome::lock::LockTraits::get_supported_states |
( |
| ) |
const |
|
inline |
◆ get_supports_open()
bool esphome::lock::LockTraits::get_supports_open |
( |
| ) |
const |
|
inline |
◆ set_assumed_state()
void esphome::lock::LockTraits::set_assumed_state |
( |
bool |
assumed_state | ) |
|
|
inline |
◆ set_requires_code()
void esphome::lock::LockTraits::set_requires_code |
( |
bool |
requires_code | ) |
|
|
inline |
◆ set_supported_states()
void esphome::lock::LockTraits::set_supported_states |
( |
std::set< LockState > |
states | ) |
|
|
inline |
◆ set_supports_open()
void esphome::lock::LockTraits::set_supports_open |
( |
bool |
supports_open | ) |
|
|
inline |
◆ supports_state()
bool esphome::lock::LockTraits::supports_state |
( |
LockState |
state | ) |
const |
|
inline |
◆ assumed_state_
bool esphome::lock::LockTraits::assumed_state_ {false} |
|
protected |
◆ requires_code_
bool esphome::lock::LockTraits::requires_code_ {false} |
|
protected |
◆ supported_states_
◆ supports_open_
bool esphome::lock::LockTraits::supports_open_ {false} |
|
protected |
The documentation for this class was generated from the following file:
- /opt/build/esphome/esphome/components/lock/lock.h