mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Wording change to explanation of the actions (#13115)
The wording of the action configuration variables was misleading. The way it reads is that the action will happen once the cover is in that position. I should read as the actions will cause the cover to be in those positions. Ex. : open_cover "Defines an action to run when the cover is opened." Most people would read that to mean once the condition is satisfied of the cover being open, the action will then run. It should be that the action will cause the cover to open. I made these changes to the 5 action variables to hopefully make that clearer as it confused me when I was looking to create a cover template.
This commit is contained in:
parent
17e5bade24
commit
e3ada94da2
@ -74,23 +74,23 @@ cover:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
open_cover:
|
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.
|
description: Defines an action to open the cover. 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
|
required: inclusive
|
||||||
type: action
|
type: action
|
||||||
close_cover:
|
close_cover:
|
||||||
description: Defines an action to run when the cover is closed.
|
description: Defines an action to close the cover.
|
||||||
required: inclusive
|
required: inclusive
|
||||||
type: action
|
type: action
|
||||||
stop_cover:
|
stop_cover:
|
||||||
description: Defines an action to run when the cover is stopped.
|
description: Defines an action to stop the cover.
|
||||||
required: false
|
required: false
|
||||||
type: action
|
type: action
|
||||||
set_cover_position:
|
set_cover_position:
|
||||||
description: Defines an action to run when the cover is set to a specific value (between `0` and `100`).
|
description: Defines an action to set to a cover position (between `0` and `100`).
|
||||||
required: false
|
required: false
|
||||||
type: action
|
type: action
|
||||||
set_cover_tilt_position:
|
set_cover_tilt_position:
|
||||||
description: Defines an action to run when the cover tilt is set to a specific value (between `0` and `100`).
|
description: Defines an action to set the tilt of a cover (between `0` and `100`).
|
||||||
required: false
|
required: false
|
||||||
type: action
|
type: action
|
||||||
optimistic:
|
optimistic:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user