From 35df5fc10be06bd412294ad39d3d74c91e310d09 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 2 Mar 2020 11:00:41 +0100 Subject: [PATCH] MQTT vacuum JSON template (#12223) --- source/_integrations/vacuum.mqtt.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_integrations/vacuum.mqtt.markdown b/source/_integrations/vacuum.mqtt.markdown index fbaa940c1cb0..f6f871b22d01 100644 --- a/source/_integrations/vacuum.mqtt.markdown +++ b/source/_integrations/vacuum.mqtt.markdown @@ -272,6 +272,10 @@ fan_speed_list: description: List of possible fan speeds for the vacuum. required: false type: [string, list] +json_attributes_template: + description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the JSON dictionary from messages received on the `json_attributes_topic`. Usage example can be found in [MQTT sensor](/integrations/sensor.mqtt/#json-attributes-template-configuration) documentation." + required: false + type: template 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](/integrations/sensor.mqtt/#json-attributes-topic-configuration) documentation. required: false