From 6f413c66dcefc42a91f168e46073ff24a5e6c341 Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Sat, 1 Sep 2018 23:37:24 +0200 Subject: [PATCH] Add unique_id (#6121) --- source/_components/light.mqtt.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/light.mqtt.markdown b/source/_components/light.mqtt.markdown index e92f859fb7c..b7ca1ff13a5 100644 --- a/source/_components/light.mqtt.markdown +++ b/source/_components/light.mqtt.markdown @@ -35,6 +35,10 @@ name: required: false type: string default: MQTT Light +unique_id: + description: An ID that uniquely identifies this light. If two lights have the same unique ID, Home Assistant will raise an exception. + required: false + type: string command_topic: description: The MQTT topic to publish commands to change the switch state. required: true