From d7b480946353fd37ea92c32fdd14e05e5996ecaa Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 25 May 2021 11:30:08 +0200 Subject: [PATCH] Document MQTT sensor state_class (#17949) --- source/_integrations/sensor.mqtt.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/sensor.mqtt.markdown b/source/_integrations/sensor.mqtt.markdown index c1de8e28308..22a87f2273d 100644 --- a/source/_integrations/sensor.mqtt.markdown +++ b/source/_integrations/sensor.mqtt.markdown @@ -134,6 +134,11 @@ qos: required: false type: integer default: 0 +state_class: + description: The [state_class](https://developers.home-assistant.io/docs/core/entity/sensor#available-state-classes) of the sensor. + required: false + type: string + default: None state_topic: description: The MQTT topic subscribed to receive sensor values. required: true