ESPHome  2024.6.1
Public Member Functions | Data Fields
esphome::datetime::DateEntityRestoreState Struct Reference

#include <date_entity.h>

Public Member Functions

DateCall to_call (DateEntity *date)
 
void apply (DateEntity *date)
 

Data Fields

uint16_t year
 
uint8_t month
 
uint8_t day
 

Detailed Description

Definition at line 27 of file date_entity.h.

Member Function Documentation

◆ apply()

void esphome::datetime::DateEntityRestoreState::apply ( DateEntity date)

Definition at line 121 of file date_entity.cpp.

◆ to_call()

DateCall esphome::datetime::DateEntityRestoreState::to_call ( DateEntity date)

Definition at line 115 of file date_entity.cpp.

Field Documentation

◆ day

uint8_t esphome::datetime::DateEntityRestoreState::day

Definition at line 30 of file date_entity.h.

◆ month

uint8_t esphome::datetime::DateEntityRestoreState::month

Definition at line 29 of file date_entity.h.

◆ year

uint16_t esphome::datetime::DateEntityRestoreState::year

Definition at line 28 of file date_entity.h.


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