From 0b7911ae3dcac23bbd9e32e2326a75185ddd6502 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 25 May 2021 18:11:20 +0200 Subject: [PATCH] Add sensor state_class examples (#950) Co-authored-by: Paulus Schoutsen --- docs/core/entity/sensor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/entity/sensor.md b/docs/core/entity/sensor.md index defa57da..dbd2bc8e 100644 --- a/docs/core/entity/sensor.md +++ b/docs/core/entity/sensor.md @@ -44,4 +44,4 @@ If specifying a device class, your sensor entity will need to also return the co | Type | Description | ---- | ----------- -| measurement | The state represents _a measurement in present time_, not a historical aggregation such as statistics or a prediction of the future. +| measurement | The state represents _a measurement in present time_, not a historical aggregation such as statistics or a prediction of the future. Examples of what should be classified `measurement` are: current temperature, accumulated energy consumption, accumulated cost. Exampled of what should not be classified as `measurement`: Forecasted temperature for tomorrow, yesterday's energy consumption or anything else that doesn't include the _current_ measurement.