mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Merge remote-tracking branch 'origin' into rc
This commit is contained in:
commit
863658b338
@ -18,9 +18,8 @@ ha_platforms:
|
|||||||
ha_integration_type: helper
|
ha_integration_type: helper
|
||||||
---
|
---
|
||||||
|
|
||||||
The derivative ([Wikipedia](https://en.wikipedia.org/wiki/Derivative)) integration creates a sensor that "smooths-out" another sensor (the **source sensor**).
|
The derivative ([Wikipedia](https://en.wikipedia.org/wiki/Derivative)) integration creates a sensor that estimates the derivative of the
|
||||||
Derivatives of the specified sensor will be averaged in a given time window 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.
|
values provided by another sensor (the **source sensor**). Derivative sensors are updated upon changes of the **source sensor**.
|
||||||
Derivative sensors are updated upon changes of the **source sensor**.
|
|
||||||
|
|
||||||
For sensors that reset to zero after a power interruption and need a "non-negative derivative", such as bandwidth counters in routers, or rain gauges, consider using the [Utility Meter](/integrations/utility_meter/) integration instead. Otherwise, each reset will register a significant change in the derivative sensor.
|
For sensors that reset to zero after a power interruption and need a "non-negative derivative", such as bandwidth counters in routers, or rain gauges, consider using the [Utility Meter](/integrations/utility_meter/) integration instead. Otherwise, each reset will register a significant change in the derivative sensor.
|
||||||
|
|
||||||
@ -83,7 +82,7 @@ unit:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
time_window:
|
time_window:
|
||||||
description: The time window in which to calculate the derivative. By default the derivative is calculated between two consecutive updates without any smoothing.
|
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
|
default: 0
|
||||||
required: false
|
required: false
|
||||||
type: time
|
type: time
|
||||||
|
@ -145,15 +145,6 @@ sensor:
|
|||||||
description: Defines a template for the entity picture of the sensor.
|
description: Defines a template for the entity picture of the sensor.
|
||||||
required: false
|
required: false
|
||||||
type: template
|
type: template
|
||||||
attributes:
|
|
||||||
description: Defines templates for attributes of the sensor.
|
|
||||||
required: false
|
|
||||||
type: map
|
|
||||||
keys:
|
|
||||||
"attribute: template":
|
|
||||||
description: The attribute and corresponding template.
|
|
||||||
required: true
|
|
||||||
type: template
|
|
||||||
device_class:
|
device_class:
|
||||||
description: Sets the class of the device, changing the device state and icon that is displayed on the UI (see below). It does not set the `unit_of_measurement`.
|
description: Sets the class of the device, changing the device state and icon that is displayed on the UI (see below). It does not set the `unit_of_measurement`.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user