ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
exponential_moving_average_sensor.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::exponential_moving_average::ScaledDuration
 A duration in the largest of ms, s, min or h that keeps the value at 1 or more. More...
 
class  esphome::exponential_moving_average::ExponentialMovingAverageSensor
 

Namespaces

namespace  esphome
 
namespace  esphome::exponential_moving_average
 

Enumerations

enum  esphome::exponential_moving_average::TimeWeighting : uint8_t { esphome::exponential_moving_average::TIME_WEIGHTING_NEW = 0 , esphome::exponential_moving_average::TIME_WEIGHTING_PREVIOUS , esphome::exponential_moving_average::TIME_WEIGHTING_LINEAR }
 Which value is assumed to apply during the time between two readings, when a time constant is used. More...
 

Functions

const LogString * esphome::exponential_moving_average::time_weighting_to_string (TimeWeighting weighting)
 
ScaledDuration esphome::exponential_moving_average::scale_duration (uint32_t ms)