From acbedd5d86df29cb9ae4adc0ca2c92bac3d3307f Mon Sep 17 00:00:00 2001 From: Penny Wood Date: Tue, 30 Apr 2019 01:37:29 +0800 Subject: [PATCH] Add device_class to cover template #23486 (#9348) --- source/_components/cover.template.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/cover.template.markdown b/source/_components/cover.template.markdown index 6c693c74201..6d6a61030df 100644 --- a/source/_components/cover.template.markdown +++ b/source/_components/cover.template.markdown @@ -67,6 +67,10 @@ cover: description: Defines a template to specify which icon to use. required: false type: template + device_class: + description: The [type/class](/components/cover/#device-class) of the cover to set the icon in the frontend. + required: false + type: string open_cover: description: Defines an action to run when the cover is opened. If [`open_cover`](#open_cover) is specified, [`close_cover`](#close_cover) must also be specified. At least one of [`open_cover`](#open_cover) and [`set_cover_position`](#set_cover_position) must be specified. required: inclusive