mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Add missing unique_id
part to Switch MQTT docs (#13907)
* Add missing `unique_id` part to Switch MQTT docs `unique_id` is referenced within the doc, but isn't documented. I've copied the text from `Climate`. * Remove references to HVAC
This commit is contained in:
parent
12a9ba6405
commit
11dcf2465c
@ -135,6 +135,10 @@ state_topic:
|
||||
description: The MQTT topic subscribed to receive state updates.
|
||||
required: false
|
||||
type: string
|
||||
unique_id:
|
||||
description: An ID that uniquely identifies this switch device. If two switches have the same unique ID, Home Assistant will raise an exception.
|
||||
required: false
|
||||
type: string
|
||||
value_template:
|
||||
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract device's state from the `state_topic`. To determine the switches's state result of this template will be compared to `state_on` and `state_off`."
|
||||
required: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user