Sleep with YAML

YAML parameters for Sleep

You can find the list with common parameters for all Buddy actions here.

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