ESPHome  2024.4.2
Public Member Functions | Protected Attributes
esphome::template_::TemplateTextSaverBase Class Reference

#include <template_text.h>

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

Public Member Functions

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

Protected Attributes

ESPPreferenceObject pref_
 
std::string prev_
 

Detailed Description

Definition at line 13 of file template_text.h.

Member Function Documentation

◆ save()

virtual bool esphome::template_::TemplateTextSaverBase::save ( const std::string &  value)
inlinevirtual

Reimplemented in esphome::template_::TextSaver< SZ >.

Definition at line 15 of file template_text.h.

◆ setup()

virtual void esphome::template_::TemplateTextSaverBase::setup ( uint32_t  id,
std::string &  value 
)
inlinevirtual

Reimplemented in esphome::template_::TextSaver< SZ >.

Definition at line 17 of file template_text.h.

Field Documentation

◆ pref_

ESPPreferenceObject esphome::template_::TemplateTextSaverBase::pref_
protected

Definition at line 20 of file template_text.h.

◆ prev_

std::string esphome::template_::TemplateTextSaverBase::prev_
protected

Definition at line 21 of file template_text.h.


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