OnOffCommand

Description

Turn the device on or off.

Fields

Key Type Description
devices [Device]

Device can be turned on/off such as light, coffee maker etc.

Required

on Bool

Whether to turn the device on or off.

Required

Examples

actions:
- type: device.command.OnOff
  devices: My Device - Room Name
  on: true