Sleep with YAML

YAML parameters for Sleep

Name Type Description
action Required String The name of the action.
type Required String The type of the action. Should be set to SLEEP.
sleep_in_sec Required Integer The 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 Mar 4, 2025