ESPHome  1.15.3
Public Member Functions
esphome::binary_sensor::InvertFilter Class Reference

#include <filter.h>

Inheritance diagram for esphome::binary_sensor::InvertFilter:
esphome::binary_sensor::Filter

Public Member Functions

optional< bool > new_value (bool value, bool is_initial) override
 
- Public Member Functions inherited from esphome::binary_sensor::Filter
void input (bool value, bool is_initial)
 
void output (bool value, bool is_initial)
 

Additional Inherited Members

- Protected Attributes inherited from esphome::binary_sensor::Filter
friend BinarySensor
 
Filternext_ {nullptr}
 
BinarySensorparent_ {nullptr}
 
Deduplicator< bool > dedup_
 

Detailed Description

Definition at line 64 of file filter.h.

Member Function Documentation

◆ new_value()

optional< bool > esphome::binary_sensor::InvertFilter::new_value ( bool  value,
bool  is_initial 
)
overridevirtual

Implements esphome::binary_sensor::Filter.

Definition at line 65 of file filter.cpp.


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