#include <datetime_entity.h>
Definition at line 69 of file datetime_entity.h.
◆ DateTimeCall()
esphome::datetime::DateTimeCall::DateTimeCall |
( |
DateTimeEntity * |
parent | ) |
|
|
inlineexplicit |
◆ get_day()
optional<uint8_t> esphome::datetime::DateTimeCall::get_day |
( |
| ) |
const |
|
inline |
◆ get_hour()
optional<uint8_t> esphome::datetime::DateTimeCall::get_hour |
( |
| ) |
const |
|
inline |
◆ get_minute()
optional<uint8_t> esphome::datetime::DateTimeCall::get_minute |
( |
| ) |
const |
|
inline |
◆ get_month()
optional<uint8_t> esphome::datetime::DateTimeCall::get_month |
( |
| ) |
const |
|
inline |
◆ get_second()
optional<uint8_t> esphome::datetime::DateTimeCall::get_second |
( |
| ) |
const |
|
inline |
◆ get_year()
optional<uint16_t> esphome::datetime::DateTimeCall::get_year |
( |
| ) |
const |
|
inline |
◆ perform()
void esphome::datetime::DateTimeCall::perform |
( |
| ) |
|
◆ set_datetime() [1/4]
DateTimeCall & esphome::datetime::DateTimeCall::set_datetime |
( |
uint16_t |
year, |
|
|
uint8_t |
month, |
|
|
uint8_t |
day, |
|
|
uint8_t |
hour, |
|
|
uint8_t |
minute, |
|
|
uint8_t |
second |
|
) |
| |
◆ set_datetime() [2/4]
◆ set_datetime() [3/4]
DateTimeCall & esphome::datetime::DateTimeCall::set_datetime |
( |
const std::string & |
datetime | ) |
|
◆ set_datetime() [4/4]
DateTimeCall & esphome::datetime::DateTimeCall::set_datetime |
( |
time_t |
epoch_seconds | ) |
|
◆ set_day()
DateTimeCall& esphome::datetime::DateTimeCall::set_day |
( |
uint8_t |
day | ) |
|
|
inline |
◆ set_hour()
DateTimeCall& esphome::datetime::DateTimeCall::set_hour |
( |
uint8_t |
hour | ) |
|
|
inline |
◆ set_minute()
DateTimeCall& esphome::datetime::DateTimeCall::set_minute |
( |
uint8_t |
minute | ) |
|
|
inline |
◆ set_month()
DateTimeCall& esphome::datetime::DateTimeCall::set_month |
( |
uint8_t |
month | ) |
|
|
inline |
◆ set_second()
DateTimeCall& esphome::datetime::DateTimeCall::set_second |
( |
uint8_t |
second | ) |
|
|
inline |
◆ set_year()
DateTimeCall& esphome::datetime::DateTimeCall::set_year |
( |
uint16_t |
year | ) |
|
|
inline |
◆ validate_()
void esphome::datetime::DateTimeCall::validate_ |
( |
| ) |
|
|
protected |
◆ day_
optional<uint8_t> esphome::datetime::DateTimeCall::day_ |
|
protected |
◆ hour_
optional<uint8_t> esphome::datetime::DateTimeCall::hour_ |
|
protected |
◆ minute_
optional<uint8_t> esphome::datetime::DateTimeCall::minute_ |
|
protected |
◆ month_
optional<uint8_t> esphome::datetime::DateTimeCall::month_ |
|
protected |
◆ parent_
◆ second_
optional<uint8_t> esphome::datetime::DateTimeCall::second_ |
|
protected |
◆ year_
optional<uint16_t> esphome::datetime::DateTimeCall::year_ |
|
protected |
The documentation for this class was generated from the following files: