ESPHome  2024.10.2
Public Member Functions | Data Fields
esphome::datetime::DateTimeEntityRestoreState Struct Reference

#include <datetime_entity.h>

Public Member Functions

DateTimeCall to_call (DateTimeEntity *datetime)
 
void apply (DateTimeEntity *datetime)
 

Data Fields

uint16_t year
 
uint8_t month
 
uint8_t day
 
uint8_t hour
 
uint8_t minute
 
uint8_t second
 

Detailed Description

Definition at line 27 of file datetime_entity.h.

Member Function Documentation

◆ apply()

void esphome::datetime::DateTimeEntityRestoreState::apply ( DateTimeEntity datetime)

Definition at line 185 of file datetime_entity.cpp.

◆ to_call()

DateTimeCall esphome::datetime::DateTimeEntityRestoreState::to_call ( DateTimeEntity datetime)

Definition at line 179 of file datetime_entity.cpp.

Field Documentation

◆ day

uint8_t esphome::datetime::DateTimeEntityRestoreState::day

Definition at line 30 of file datetime_entity.h.

◆ hour

uint8_t esphome::datetime::DateTimeEntityRestoreState::hour

Definition at line 31 of file datetime_entity.h.

◆ minute

uint8_t esphome::datetime::DateTimeEntityRestoreState::minute

Definition at line 32 of file datetime_entity.h.

◆ month

uint8_t esphome::datetime::DateTimeEntityRestoreState::month

Definition at line 29 of file datetime_entity.h.

◆ second

uint8_t esphome::datetime::DateTimeEntityRestoreState::second

Definition at line 33 of file datetime_entity.h.

◆ year

uint16_t esphome::datetime::DateTimeEntityRestoreState::year

Definition at line 28 of file datetime_entity.h.


The documentation for this struct was generated from the following files: