A filter that maps values from one set to another.
More...
#include <filter.h>
A filter that maps values from one set to another.
Definition at line 114 of file filter.h.
◆ MapFilter()
esphome::text_sensor::MapFilter::MapFilter |
( |
std::map< std::string, std::string > |
mappings | ) |
|
|
inline |
◆ new_value()
optional< std::string > esphome::text_sensor::MapFilter::new_value |
( |
std::string |
value | ) |
|
|
overridevirtual |
◆ mappings_
std::map<std::string, std::string> esphome::text_sensor::MapFilter::mappings_ |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/text_sensor/filter.h
- /opt/build/esphome/esphome/components/text_sensor/filter.cpp