Update time_window explanation (#21780)

This commit is contained in:
sophof 2022-02-25 22:58:20 +01:00 committed by GitHub
parent b55b19eb76
commit 77aff671bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ unit:
required: false
type: string
time_window:
description: The time window in which to calculate the derivative. This is useful for sensor that output discrete values. By default the derivative is calculated between two consecutive updates.
description: The time window in which to calculate the derivative. Derivatives in this window will be averaged with a Simple Moving Average algorithm weighted by time. This is for instance useful for a sensor that outputs discrete values, or to filter out short duration noise. By default the derivative is calculated between two consecutive updates without any smoothing.
default: 0
required: false
type: time