Add range to min-max integration (#24102)

This commit is contained in:
Justin Sherman 2022-09-26 07:17:47 -07:00 committed by GitHub
parent 94e673ffb0
commit 41e2b9613e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ ha_platforms:
ha_integration_type: helper
---
The Min/Max integration consumes the state from other sensors to determine the minimum, maximum, latest (last), mean and median of the collected states.
The Min/Max integration consumes the state from other sensors to determine the minimum, maximum, latest (last), mean, median, and range of the collected states.
The sensor provided by this integration will always show you the lowest/highest/latest value which was received from all monitored sensors. If you have spikes in your values, it's recommended to filter/equalize your values with a [statistics sensor](/integrations/statistics) first.
@ -30,7 +30,7 @@ Name:
Input entities:
description: At least two entities to monitor. All entities must use the same unit of measurement.
Type:
description: The type of the sensor, this can be either "min", "max", "last", "mean", or "median".
description: The type of the sensor, this can be either "min", "max", "last", "mean", "median", or "range".
Precision:
description: Round the calculated mean or median value to at most N decimal places.
{% endconfiguration_basic %}
@ -57,7 +57,7 @@ entity_ids:
required: true
type: [list, string]
type:
description: "The type of sensor: `min`, `max`, `last`, `mean` or `median`."
description: "The type of sensor: `min`, `max`, `last`, `mean`, `median`, or `range`."
required: false
default: max
type: string