From d146496d6b4d4547cd6d290fe9a58b162c98fcb4 Mon Sep 17 00:00:00 2001 From: emontnemery Date: Sun, 27 Jan 2019 21:01:10 +0100 Subject: [PATCH] Document json_attributes_topic for MQTT Lock (#8308) * Document json_attributes_topic for MQTT Lock * Update lock.mqtt.markdown --- source/_components/lock.mqtt.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/lock.mqtt.markdown b/source/_components/lock.mqtt.markdown index 1b33b55495d..812675886dc 100644 --- a/source/_components/lock.mqtt.markdown +++ b/source/_components/lock.mqtt.markdown @@ -89,6 +89,10 @@ payload_not_available: required: false type: string default: offline +json_attributes_topic: + description: The MQTT topic subscribed to receive a JSON dictionary payload and then set as sensor attributes. Usage example can be found in [MQTT sensor](/components/sensor.mqtt/#json-attributes-topic-configuration) documentation. + required: false + type: string unique_id: description: An ID that uniquely identifies this lock. If two locks have the same unique ID, Home Assistant will raise an exception. required: false