mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Add unique_id (#6121)
This commit is contained in:
parent
968783c45c
commit
6f413c66dc
@ -35,6 +35,10 @@ name:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: MQTT Light
|
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:
|
command_topic:
|
||||||
description: The MQTT topic to publish commands to change the switch state.
|
description: The MQTT topic to publish commands to change the switch state.
|
||||||
required: true
|
required: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user