#include <filter.h>
Definition at line 359 of file filter.h.
◆ DeltaFilter()
esphome::sensor::DeltaFilter::DeltaFilter |
( |
float |
delta, |
|
|
bool |
percentage_mode |
|
) |
| |
|
explicit |
◆ new_value()
optional< float > esphome::sensor::DeltaFilter::new_value |
( |
float |
value | ) |
|
|
overridevirtual |
◆ current_delta_
float esphome::sensor::DeltaFilter::current_delta_ |
|
protected |
◆ delta_
float esphome::sensor::DeltaFilter::delta_ |
|
protected |
◆ last_value_
float esphome::sensor::DeltaFilter::last_value_ {NAN} |
|
protected |
◆ percentage_mode_
bool esphome::sensor::DeltaFilter::percentage_mode_ |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/sensor/filter.h
- /opt/build/esphome/esphome/components/sensor/filter.cpp