MQTT Sensor Device Class Docs (#5252)

* MQTT Sensor Device Class

* Remove formatting

* Other small fix
This commit is contained in:
Otto Winter 2018-05-01 22:26:02 +02:00 committed by Fabian Affolter
parent 76b908b033
commit 01c267fc5e

View File

@ -81,9 +81,14 @@ json_attributes:
reqired: false
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.**"
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:
description: The type/class of the sensor to set the icon in the frontend.
required: false
type: device_class
default: None
{% endconfiguration %}
## {% linkable_title Examples %}