ArmDisarmCommand

Description

Set the alarm level of the device.

Fields

Key Type Description
devices [Device]

Devices that can be armed or disarmed such as security systems.

Required

Variable is allowed.

arm Bool

true to arm the device, false to disarm.

Required

Variable is allowed.

cancel Bool

true to cancel the arm value.

Optional

To use this field, all the following fields CANNOT be used: armLevel

Variable is allowed.

armLevel String

The level_name to arm to.

Optional

Variable is allowed.

The available values depends on each device.

Examples

actions:
- type: device.command.ArmDisarm
  devices: My Device - Room Name
  arm: true