Document MQTT sensor state_class (#17949)

This commit is contained in:
Erik Montnemery 2021-05-25 11:30:08 +02:00 committed by GitHub
parent b9a95e0439
commit d7b4809463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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