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