MQTT Sensor Device Class Docs (#5252)
* MQTT Sensor Device Class * Remove formatting * Other small fix
This commit is contained in:
parent
76b908b033
commit
01c267fc5e
1 changed files with 6 additions and 1 deletions
|
@ -81,9 +81,14 @@ json_attributes:
|
||||||
reqired: false
|
reqired: false
|
||||||
type: list, string
|
type: list, string
|
||||||
unique_id:
|
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
|
required: false
|
||||||
type: string
|
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 %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Examples %}
|
## {% linkable_title Examples %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue