mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
add unit_of_measurement customization to documentation (#3050)
add unit_of_measurement customization to documentation
This commit is contained in:
parent
4e9202fa70
commit
ed2942b4d8
@ -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.
|
||||
| `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`.
|
||||
| `unit_of_measurement` | Defines the units of measurement, if any.
|
||||
|
||||
### {% linkable_title Device Class %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user