Add unique_id to mqtt_json light (#6319)

Applies changes from #6121 to mqtt_json component.
This commit is contained in:
Nikolay Kasyanov 2018-09-20 08:16:48 +02:00 committed by Fabian Affolter
parent 803a27b39c
commit 98b2098d53

View File

@ -56,6 +56,10 @@ name:
required: false
type: string
default: MQTT JSON 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 lights state.
required: true