#include <filter.h>
Definition at line 101 of file filter.h.
◆ LambdaFilter()
esphome::binary_sensor::LambdaFilter::LambdaFilter |
( |
std::function< optional< bool >(bool)> |
f | ) |
|
|
explicit |
◆ new_value()
optional< bool > esphome::binary_sensor::LambdaFilter::new_value |
( |
bool |
value, |
|
|
bool |
is_initial |
|
) |
| |
|
overridevirtual |
◆ f_
std::function<optional<bool>bool)> esphome::binary_sensor::LambdaFilter::f_ |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/binary_sensor/filter.h
- /opt/build/esphome/esphome/components/binary_sensor/filter.cpp