macaroni

play

Description:
The play executor is used to play a sound: either a beep or a media file.

Parent: execute, then, else

Value (simple form): string specifying sound or file to play
Value (key/value form):

# simple form
play: (string)

# simple example
play: beep

# key/value form
- play: (string, required)
  frequency: (integer, optional)
  duration: (time, optional)

# key/value example
- play: beep
  duration: 200ms

EXAMPLE:

- name: this is a test
  triggers:
  - this is a test
  execute:
  - play: c:\temp\emergency.mp3

Status: ✅ IMPLEMENTED