Sleep with YAML

YAML parameters for Sleep

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to SLEEP.
sleep_in_sec
Required
IntegerThe 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