Handle to a Time entity.
More...
#include <entity_handles.hpp>
◆ command()
| void esphome::api::TimeEntity::command |
( |
TimeCommand |
c | ) |
const |
|
inline |
Send a fully-specified command (its key is set automatically).
◆ hour()
| std::uint32_t esphome::api::TimeEntity::hour |
( |
| ) |
const |
|
inline |
◆ info()
| std::optional< TimeInfo > esphome::api::TimeEntity::info |
( |
| ) |
const |
|
inline |
◆ minute()
| std::uint32_t esphome::api::TimeEntity::minute |
( |
| ) |
const |
|
inline |
◆ missing_state()
| bool esphome::api::TimeEntity::missing_state |
( |
| ) |
const |
|
inline |
◆ second()
| std::uint32_t esphome::api::TimeEntity::second |
( |
| ) |
const |
|
inline |
◆ set()
| void esphome::api::TimeEntity::set |
( |
const std::uint32_t |
hour, |
|
|
const std::uint32_t |
minute, |
|
|
const std::uint32_t |
second |
|
) |
| const |
|
inline |
◆ state()
| std::optional< TimeState > esphome::api::TimeEntity::state |
( |
| ) |
const |
|
inline |
◆ type()
| static constexpr EntityType esphome::api::TimeEntity::type |
( |
| ) |
|
|
inlinestaticconstexpr |
The documentation for this class was generated from the following file: