Handle to a Lock entity.
More...
#include <entity_handles.hpp>
◆ assumed_state()
| bool esphome::api::LockEntity::assumed_state |
( |
| ) |
const |
|
inline |
◆ code_format()
| std::string esphome::api::LockEntity::code_format |
( |
| ) |
const |
|
inline |
◆ command()
Send a fully-specified command (its key is set automatically).
◆ info()
| std::optional< LockInfo > esphome::api::LockEntity::info |
( |
| ) |
const |
|
inline |
◆ lock()
| void esphome::api::LockEntity::lock |
( |
| ) |
const |
|
inline |
◆ open()
| void esphome::api::LockEntity::open |
( |
| ) |
const |
|
inline |
◆ requires_code()
| bool esphome::api::LockEntity::requires_code |
( |
| ) |
const |
|
inline |
◆ state()
◆ supports_open()
| bool esphome::api::LockEntity::supports_open |
( |
| ) |
const |
|
inline |
◆ type()
| static constexpr EntityType esphome::api::LockEntity::type |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ unlock()
| void esphome::api::LockEntity::unlock |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: