mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
MQTT Sensor Unique ID feature (#5131)
This commit is contained in:
parent
5c47c159a9
commit
0c7780681b
@ -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…
x
Reference in New Issue
Block a user