DelayAction

Description

Adds a pause in the automation execution. All actions listed after the DelayAction will execute after the pause.

Fields

Key Type Description
forDuration

The length of the pause. For example, '30sec' will pause the execution of the automation for thirty seconds.

Required

Examples

Turn on a light and turn off it after 5 minutes.

actions:-type:device.command.OnOffdevices:Light A - Living Roomon:true-type:time.delayfor:5min-type:device.command.OnOffdevices:Light A - Living Roomon:false