mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
MQTT Sensor Device Class Docs (#5252)
* MQTT Sensor Device Class * Remove formatting * Other small fix
This commit is contained in:
parent
76b908b033
commit
01c267fc5e
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user