|
ESPHome 2026.11.0-dev
|
Data Structures | |
| class | ExponentialMovingAverageSensor |
| struct | ScaledDuration |
| A duration in the largest of ms, s, min or h that keeps the value at 1 or more. More... | |
Enumerations | |
| enum | TimeWeighting : uint8_t { TIME_WEIGHTING_NEW = 0 , TIME_WEIGHTING_PREVIOUS , TIME_WEIGHTING_LINEAR } |
| Which value is assumed to apply during the time between two readings, when a time constant is used. More... | |
Functions | |
| ESPHOME_LOG_TAG (TAG, "exponential_moving_average") | |
| const LogString * | time_weighting_to_string (TimeWeighting weighting) |
| ScaledDuration | scale_duration (uint32_t ms) |
| enum esphome::exponential_moving_average::TimeWeighting : uint8_t |
Which value is assumed to apply during the time between two readings, when a time constant is used.
| Enumerator | |
|---|---|
| TIME_WEIGHTING_NEW | |
| TIME_WEIGHTING_PREVIOUS | |
| TIME_WEIGHTING_LINEAR | |
Definition at line 14 of file exponential_moving_average_sensor.h.
| esphome::exponential_moving_average::ESPHOME_LOG_TAG | ( | TAG | , |
| "exponential_moving_average" | ) |
| ScaledDuration esphome::exponential_moving_average::scale_duration | ( | uint32_t | ms | ) |
Definition at line 22 of file exponential_moving_average_sensor.cpp.
| const LogString * esphome::exponential_moving_average::time_weighting_to_string | ( | TimeWeighting | weighting | ) |
Definition at line 11 of file exponential_moving_average_sensor.cpp.