Add mqtt binary_sensor unique_id to documentation (#5538)

This commit is contained in:
Marius 2018-06-13 17:22:36 +03:00 committed by Martin Hjelmare
parent 5cbaf8fd39
commit 4c8d8c20b5

View File

@ -69,6 +69,10 @@ qos:
required: false required: false
type: integer type: integer
default: 0 default: 0
unique_id:
description: "An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception."
required: false
type: string
device_class: device_class:
description: "The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend." description: "The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend."
required: false required: false