Sleep with YAML
List of YAML parameters and examples for the "Sleep" action
提示
Learn more about:
YAML parameters for Sleep
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | 操作名称 |
type 必填 | String | The type of the action. Should be set to SLEEP . |
sleep_in_sec 必填 | Integer | The time (in seconds) to sleep. The value should be between 0 and 1200. |
YAML example for Sleep
actions:
- action: "Sleep well, darling"
type: "SLEEP"
trigger_time: "ON_EVERY_EXECUTION"
sleep_in_sec: 600