mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Update statistics.markdown (#18166)
This commit is contained in:
parent
6d0494e1c6
commit
4d954659f8
@ -50,11 +50,11 @@ sampling_size:
|
|||||||
default: 20
|
default: 20
|
||||||
type: integer
|
type: integer
|
||||||
max_age:
|
max_age:
|
||||||
description: Maximum age of measurements. Setting this to a time interval will cause older values to be discarded. Please note that you might have to increase the [sampling_size](/integrations/statistics#sampling_size) parameter. If you e.g., have a sensor value updated every second you will, by default, only get a max_age of 20s. Furthermore the sensor gets `unkown` if the entity is not updated within the time interval.
|
description: Maximum age of measurements. Setting this to a time interval will cause older values to be discarded. Please note that you might have to increase the [`sampling_size`](/integrations/statistics#sampling_size) parameter. If you e.g., have a sensor value updated every second you will by default only get a `max_age` of 20s. Furthermore the sensor gets `unknown` if the entity is not updated within the time interval.
|
||||||
required: false
|
required: false
|
||||||
type: time
|
type: time
|
||||||
precision:
|
precision:
|
||||||
description: Defines the precision of the calculated values, through the argument of round().
|
description: Defines the precision of the calculated values, through the argument of [`round()`](/docs/configuration/templating/#numeric-functions-and-filters).
|
||||||
required: false
|
required: false
|
||||||
default: 2
|
default: 2
|
||||||
type: integer
|
type: integer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user