From 84ce484d90d1dee571e40e12dd8539aa5e08ef71 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 23 Jun 2021 14:37:25 -0700 Subject: [PATCH] Document template sensor state class (#18280) --- source/_integrations/template.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/template.markdown b/source/_integrations/template.markdown index 6c88772174f..c9dc5d6cc39 100644 --- a/source/_integrations/template.markdown +++ b/source/_integrations/template.markdown @@ -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