Add unique_id (#6121)

This commit is contained in:
Maciej Bieniek 2018-09-01 23:37:24 +02:00 committed by Fabian Affolter
parent 968783c45c
commit 6f413c66dc

View File

@ -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