MQTT Sensor Unique ID feature (#5131)
This commit is contained in:
parent
5c47c159a9
commit
0c7780681b
1 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,10 @@ json_attributes:
|
||||||
description: A list of keys to extract values from a JSON dictionary payload and then set as sensor attributes.
|
description: A list of keys to extract values from a JSON dictionary payload and then set as sensor attributes.
|
||||||
reqired: false
|
reqired: false
|
||||||
type: list, string
|
type: list, string
|
||||||
|
unique_id:
|
||||||
|
description: "An id that uniquely identifies this sensor. If 2 sensors have the same unique id, Home Assistant will raise an exception.**"
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Examples %}
|
## {% linkable_title Examples %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue