ESPHome 2026.7.4
Loading...
Searching...
No Matches
esphome::text_sensor::ToLowerFilter Class Reference

A simple filter that converts all text to lowercase. More...

#include <filter.h>

Inheritance diagram for esphome::text_sensor::ToLowerFilter:
esphome::text_sensor::Filter

Public Member Functions

bool 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 (std::string value)
 
void output (std::string &value)
 

Additional Inherited Members

- Protected Attributes inherited from esphome::text_sensor::Filter
friend TextSensor
 
Filternext_ {nullptr}
 
TextSensorparent_ {nullptr}
 

Detailed Description

A simple filter that converts all text to lowercase.

Definition at line 96 of file filter.h.

Member Function Documentation

◆ new_value()

bool esphome::text_sensor::ToLowerFilter::new_value ( std::string & value)
overridevirtual

Implements esphome::text_sensor::Filter.

Definition at line 58 of file filter.cpp.


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