|
ESPHome 2025.12.0-dev
|
#include <filter.h>
Public Member Functions | |
| virtual optional< bool > | new_value (bool value)=0 |
| virtual void | input (bool value) |
| void | output (bool value) |
Protected Attributes | |
| friend | BinarySensor |
| Filter * | next_ {nullptr} |
| BinarySensor * | parent_ {nullptr} |
| Deduplicator< bool > | dedup_ |
|
virtual |
Reimplemented in esphome::binary_sensor::TimeoutFilter.
Definition at line 18 of file filter.cpp.
|
pure virtual |
Implemented in esphome::binary_sensor::AutorepeatFilter, esphome::binary_sensor::DelayedOffFilter, esphome::binary_sensor::DelayedOnFilter, esphome::binary_sensor::DelayedOnOffFilter, esphome::binary_sensor::InvertFilter, esphome::binary_sensor::LambdaFilter, esphome::binary_sensor::SettleFilter, esphome::binary_sensor::StatelessLambdaFilter, and esphome::binary_sensor::TimeoutFilter.
| void esphome::binary_sensor::Filter::output | ( | bool | value | ) |
Definition at line 11 of file filter.cpp.
|
protected |
|
protected |
|
protected |
|
protected |