ESPHome  2024.12.2
Public Member Functions
esphome::template_::TextSaver< SZ > Class Template Reference

#include <template_text.h>

Inheritance diagram for esphome::template_::TextSaver< SZ >:
esphome::template_::TemplateTextSaverBase

Public Member Functions

bool save (const std::string &value) override
 
void setup (uint32_t id, std::string &value) override
 

Additional Inherited Members

- Protected Attributes inherited from esphome::template_::TemplateTextSaverBase
ESPPreferenceObject pref_
 
std::string prev_
 

Detailed Description

template<uint8_t SZ>
class esphome::template_::TextSaver< SZ >

Definition at line 24 of file template_text.h.

Member Function Documentation

◆ save()

template<uint8_t SZ>
bool esphome::template_::TextSaver< SZ >::save ( const std::string &  value)
inlineoverridevirtual

Reimplemented from esphome::template_::TemplateTextSaverBase.

Definition at line 26 of file template_text.h.

◆ setup()

template<uint8_t SZ>
void esphome::template_::TextSaver< SZ >::setup ( uint32_t  id,
std::string &  value 
)
inlineoverridevirtual

Reimplemented from esphome::template_::TemplateTextSaverBase.

Definition at line 48 of file template_text.h.


The documentation for this class was generated from the following file: