Correct documentation for template sensor state class (#20243)

This commit is contained in:
Erik Montnemery 2021-11-15 15:14:07 +01:00 committed by GitHub
parent 0faa616c15
commit b092c7bc21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ sensor:
type: string type: string
default: None default: None
state_class: state_class:
description: "Defines the state class of the sensor, if any. Only possible value currently is `measurement`. Set this if your template sensor represents a measurement of the current value (so not a daily aggregate etc)." description: The [state_class](https://developers.home-assistant.io/docs/core/entity/sensor#available-state-classes) of the sensor.
required: false required: false
type: string type: string
default: None default: None