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

#include <time_entity.h>

Public Member Functions

TimeCall to_call (TimeEntity *time)
 
void apply (TimeEntity *time)
 

Data Fields

uint8_t hour
 
uint8_t minute
 
uint8_t second
 

Detailed Description

Definition at line 28 of file time_entity.h.

Member Function Documentation

◆ apply()

void esphome::datetime::TimeEntityRestoreState::apply ( TimeEntity time)

Definition at line 90 of file time_entity.cpp.

◆ to_call()

TimeCall esphome::datetime::TimeEntityRestoreState::to_call ( TimeEntity time)

Definition at line 84 of file time_entity.cpp.

Field Documentation

◆ hour

uint8_t esphome::datetime::TimeEntityRestoreState::hour

Definition at line 29 of file time_entity.h.

◆ minute

uint8_t esphome::datetime::TimeEntityRestoreState::minute

Definition at line 30 of file time_entity.h.

◆ second

uint8_t esphome::datetime::TimeEntityRestoreState::second

Definition at line 31 of file time_entity.h.


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