Fix typo in statistics.markdown #29698 (#29708)

This commit is contained in:
Thomas Dietrich 2023-11-06 06:32:06 +01:00 committed by GitHub
parent 9a910908a5
commit 7305c50a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,6 +158,6 @@ unique_id:
### An important note on `max_age` and `sampling_size`
If both `max_age` and `sampling_size` are given, the considered samples are those within the `max_age` time window but limited to the number of `sample_size` newest samples. Specify a wide-enough `sampling_size` if using an extended `max_age` (e.g., when looking for `max_age` 1 hour, a sensor that produces one measurement per minute should have at least a `sampling_size` of 60 to use all samples within the `max_age` timeframe.)
If both `max_age` and `sampling_size` are given, the considered samples are those within the `max_age` time window but limited to the number of `sampling_size` newest samples. Specify a wide-enough `sampling_size` if using an extended `max_age` (e.g., when looking for `max_age` 1 hour, a sensor that produces one measurement per minute should have at least a `sampling_size` of 60 to use all samples within the `max_age` timeframe.)
If only `sample_size` is given there is no time limit. If only `max_age` is given the considered number of samples is unlimited.
If only `sampling_size` is given there is no time limit. If only `max_age` is given the considered number of samples is unlimited.