Skip to content

Commit 995ccf6

Browse files
PhracturedBlueandrey-git
authored andcommitted
Open/Close/Stop are now optional (home-assistant#2933)
* Open/Close/Stop are now optional * typo
1 parent de782ad commit 995ccf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/_components/cover.template.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ cover:
3636
Configuration variables:
3737
3838
- **covers** array (*Required*): List of your coverss.
39-
- **open_cover** (*Required*): Defines an [action](/getting-started/automation/) to run when the cover is opened.
40-
- **close_cover** (*Required*): Defines an [action](/getting-started/automation/) to run when the cover is closed.
41-
- **stop_cover** (*Required*): Defines an [action](/getting-started/automation/) to run when the cover is stopped.
39+
- **open_cover** (*Optional*): Defines an [action](/getting-started/automation/) to run when the cover is opened. If `open_cover` is specified, `close_cover` must also be specified. At least one of `open_cover` and `set_cover_position` must be specified.
40+
- **close_cover** (*Optional*): Defines an [action](/getting-started/automation/) to run when the cover is closed.
41+
- **stop_cover** (*Optional*): Defines an [action](/getting-started/automation/) to run when the cover is stopped.
4242
- **set_cover_position** (*Optional*): Defines an [action](/getting-started/automation/) to run when the cover is set to a specific value (between 0 and 100).
4343
- **set_cover_tilt_position** (*Optional*): Defines an [action](/getting-started/automation/) to run when the cover tilt is set to a specific value (between 0 and 100).
4444
- **friendly_name** (*Optional*): Name to use in the frontend.

0 commit comments

Comments
 (0)