Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c8d8c2

Browse files
ciotlosmMartinHjelmare
authored andcommitted
Add mqtt binary_sensor unique_id to documentation (home-assistant#5538)
1 parent 5cbaf8f commit 4c8d8c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/_components/binary_sensor.mqtt.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ qos:
6969
required: false
7070
type: integer
7171
default: 0
72+
unique_id:
73+
description: "An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception."
74+
required: false
75+
type: string
7276
device_class:
7377
description: "The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend."
7478
required: false

0 commit comments

Comments
 (0)