Improve documentation for device_class (#2073)
This commit is contained in:
parent
a817d7f003
commit
23f910f669
3 changed files with 15 additions and 2 deletions
|
@ -48,7 +48,14 @@ homeassistant:
|
|||
| `entity_picture` | Url to use as picture for entity
|
||||
| `icon` | Any icon from [MaterialDesignIcons.com](http://MaterialDesignIcons.com). Prefix name with `mdi:`, ie `mdi:home`.
|
||||
| `assumed_state` | For switches with an assumed state two buttons are shown (turn off, turn on) instead of a switch. By setting `assumed_state` to `false` you will get the default switch icon.
|
||||
| `device_class` | Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the UI (see below).
|
||||
| `device_class` | Sets the class of the device, changing the device state and icon that is displayed on the UI (see below).
|
||||
|
||||
### {% linkable_title Device Class %}
|
||||
|
||||
Device class is currently supported by the following platforms:
|
||||
|
||||
* [Binary Sensor](/components/binary_sensor/)
|
||||
* [Cover](/components/cover/)
|
||||
|
||||
### {% linkable_title Advanced example %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue