add unit_of_measurement customization to documentation (#3050)

add unit_of_measurement customization to documentation
This commit is contained in:
JudgeDredd 2017-07-26 12:24:49 -04:00 committed by Fabian Affolter
parent 8596d98f8f
commit 68deab0933
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -67,6 +67,7 @@ homeassistant:
| `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. | `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, 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).
| `initial_state` | Sets the initial state for automations. `on` or `off`. | `initial_state` | Sets the initial state for automations. `on` or `off`.
| `unit_of_measurement` | Defines the units of measurement, if any.
### {% linkable_title Device Class %} ### {% linkable_title Device Class %}