mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add unique_id to mqtt_json light (#6319)
Applies changes from #6121 to mqtt_json component.
This commit is contained in:
parent
803a27b39c
commit
98b2098d53
@ -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 light’s state.
|
||||
required: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user