mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-05-03 17:48:39 +00:00
Add sensor state_class examples (#950)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
a91cf65631
commit
0b7911ae3d
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user