From da83b8fb458c67a2c8cca237ab38cd6a62c90474 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 14 Oct 2018 12:28:43 +0200 Subject: [PATCH] Add 'device_class' section (#6793) --- source/_components/cover.markdown | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/source/_components/cover.markdown b/source/_components/cover.markdown index f276c9b398a..d954ee83f0e 100644 --- a/source/_components/cover.markdown +++ b/source/_components/cover.markdown @@ -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
`damper` Ventilation damper controller
`garage` Garage door controller
`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 |