You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/cover.template.markdown
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ cover:
36
36
Configuration variables:
37
37
38
38
- **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.
42
42
- **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).
43
43
- **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).
44
44
- **friendly_name** (*Optional*): Name to use in the frontend.
0 commit comments