ESPHome
2024.9.2
|
A simple filter that converts all text to uppercase. More...
#include <filter.h>
Public Member Functions | |
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. More... | |
void | input (const std::string &value) |
void | output (const std::string &value) |
Additional Inherited Members | |
Protected Attributes inherited from esphome::text_sensor::Filter | |
friend | TextSensor |
Filter * | next_ {nullptr} |
TextSensor * | parent_ {nullptr} |
|
overridevirtual |
Implements esphome::text_sensor::Filter.
Definition at line 45 of file filter.cpp.