From a0bd10928ef7d8771685aa26555ea9c630e45f8a Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sat, 7 Apr 2018 12:55:50 +0200 Subject: [PATCH] MQTT Sensor Unique ID feature --- source/_components/sensor.mqtt.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/sensor.mqtt.markdown b/source/_components/sensor.mqtt.markdown index aebe44beb992..f5fd0b4e20cd 100644 --- a/source/_components/sensor.mqtt.markdown +++ b/source/_components/sensor.mqtt.markdown @@ -76,6 +76,10 @@ 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 +unique_id: + description: "An id that uniquely identifies this sensor. If 2 sensors have the same unique id, Home Assistant will raise an exception.**" + required: false + type: string {% endconfiguration %} ## {% linkable_title Examples %}