Handle to a Date entity.
More...
#include <entity_handles.hpp>
◆ command()
| void esphome::api::DateEntity::command |
( |
DateCommand |
c | ) |
const |
|
inline |
Send a fully-specified command (its key is set automatically).
◆ day()
| std::uint32_t esphome::api::DateEntity::day |
( |
| ) |
const |
|
inline |
◆ info()
| std::optional< DateInfo > esphome::api::DateEntity::info |
( |
| ) |
const |
|
inline |
◆ missing_state()
| bool esphome::api::DateEntity::missing_state |
( |
| ) |
const |
|
inline |
◆ month()
| std::uint32_t esphome::api::DateEntity::month |
( |
| ) |
const |
|
inline |
◆ set()
| void esphome::api::DateEntity::set |
( |
const std::uint32_t |
year, |
|
|
const std::uint32_t |
month, |
|
|
const std::uint32_t |
day |
|
) |
| const |
|
inline |
◆ state()
| std::optional< DateState > esphome::api::DateEntity::state |
( |
| ) |
const |
|
inline |
◆ type()
| static constexpr EntityType esphome::api::DateEntity::type |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ year()
| std::uint32_t esphome::api::DateEntity::year |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: