|
ESPHome 2025.10.5
|
A simple filter that adds a string to the end of another string. More...
#include <filter.h>
Public Member Functions | |
| AppendFilter (std::string suffix) | |
| optional< std::string > | new_value (std::string value) override |
Public Member Functions inherited from esphome::text_sensor::Filter | |
| virtual void | initialize (TextSensor *parent, Filter *next) |
| Initialize this filter, please note this can be called more than once. | |
| void | input (const std::string &value) |
| void | output (const std::string &value) |
Protected Attributes | |
| std::string | suffix_ |
Protected Attributes inherited from esphome::text_sensor::Filter | |
| friend | TextSensor |
| Filter * | next_ {nullptr} |
| TextSensor * | parent_ {nullptr} |
A simple filter that adds a string to the end of another string.
|
inline |
|
overridevirtual |
Implements esphome::text_sensor::Filter.
Definition at line 59 of file filter.cpp.
|
protected |