From f850f2e109708cd3b1504fdd071235b2855b7b92 Mon Sep 17 00:00:00 2001 From: timstanley1985 Date: Mon, 8 Jan 2018 16:07:54 +0000 Subject: [PATCH] MQTT json sensor attributes (#4334) * MQTT json sensor attributes * Add line break --- source/_components/sensor.mqtt.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_components/sensor.mqtt.markdown b/source/_components/sensor.mqtt.markdown index 9a7e6c00deb..2f80c563b15 100644 --- a/source/_components/sensor.mqtt.markdown +++ b/source/_components/sensor.mqtt.markdown @@ -72,7 +72,12 @@ payload_not_available: required: false type: string default: offline +json_attributes: + description: A list of keys to extract values from a JSON dictionary payload and then set as sensor attributes. + reqired: false + type: list, string {% endconfiguration %} + ## {% linkable_title Examples %} In this section you find some real life examples of how to use this sensor.