Add 'device_class' section (#6793)

This commit is contained in:
Fabian Affolter 2018-10-14 12:28:43 +02:00 committed by GitHub
parent 7798bb8362
commit da83b8fb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,12 +15,22 @@ The display style of each entity can be modified in the [customize section](/get
| Attribute | Default | Description |
| --------- | ------- | ----------- |
| `device_class` | | `none` Generic cover device<br>`damper` Ventilation damper controller<br>`garage` Garage door controller<br>`window` Window controller
| `device_class` | | see below
| `assumed_state` | `false` | If set to `true`, cover buttons will always be enabled
### {% linkable_title Device Class %}
The way these sensors are displayed in the frontend can be modified in the [customize section](/docs/configuration/customizing-devices/). The following device classes are supported for covers:
- **None**: Generic cover. This is the default and doesn't need to be set.
- **damper**: Ventilation damper controller.
- **garage**: Garage door controller.
- **window**: Window controller.
## {% linkable_title Services %}
### {% linkable_title Cover control services %}
Available services: `cover.open_cover`, `cover.close_cover`, `cover.stop_cover`, `cover.open_cover_tilt`, `cover.close_cover_tilt`, `cover.stop_cover_tilt`
| Service data attribute | Optional | Description |