Document template sensor state class (#18280)

This commit is contained in:
Paulus Schoutsen 2021-06-23 14:37:25 -07:00 committed by GitHub
parent 82ef0ad45e
commit 84ce484d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,6 +112,11 @@ sensor:
required: false
type: string
default: None
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)."
required: false
type: string
default: None
binary_sensor:
description: List of binary sensors
required: true