ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::exponential_moving_average::ScaledDuration Struct Reference

A duration in the largest of ms, s, min or h that keeps the value at 1 or more. More...

#include <exponential_moving_average_sensor.h>

Data Fields

float value
 
const LogString * unit
 
uint8_t decimals
 

Detailed Description

A duration in the largest of ms, s, min or h that keeps the value at 1 or more.

Definition at line 23 of file exponential_moving_average_sensor.h.

Field Documentation

◆ decimals

uint8_t esphome::exponential_moving_average::ScaledDuration::decimals

Definition at line 26 of file exponential_moving_average_sensor.h.

◆ unit

const LogString* esphome::exponential_moving_average::ScaledDuration::unit

Definition at line 25 of file exponential_moving_average_sensor.h.

◆ value

float esphome::exponential_moving_average::ScaledDuration::value

Definition at line 24 of file exponential_moving_average_sensor.h.


The documentation for this struct was generated from the following file: