Sleep with YAML

YAML parameters for Sleep

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to SLEEP.
sleep_in_sec RequiredIntegerThe time (in seconds) to sleep. The value should be between 0 and 1200.

YAML example for Sleep

yaml
actions: - action: "Sleep well, darling" type: "SLEEP" trigger_time: "ON_EVERY_EXECUTION" sleep_in_sec: 600

Last modified on Sep 23, 2024