Actions
For all actions, you can specify a target property to specify the device to send the action or refer to.
target:
device_id: a1b2c3d4e5f6g7h8i9j0
Arm Group(s)
actiondiagral.arm_groupsrequiredActivate one or more groups
action: diagral.arm_groups
target:
device_id: a1b2c3d4e5f6g7h8i9j0
data:
group_ids: "3"
action: diagral.arm_groups
target:
device_id: a1b2c3d4e5f6g7h8i9j0
data:
group_ids: "[2,3]"
The data object should contain the following properties:
group_idsstringrequiredGroup(s) to arm. One or many (as array)
Disarm Group(s)
actiondiagral.disarm_groupsrequiredDisarm one or more groups
action: diagral.disarm_groups
target:
device_id: a1b2c3d4e5f6g7h8i9j0
data:
group_ids: "3"
action: diagral.disarm_groups
target:
device_id: a1b2c3d4e5f6g7h8i9j0
data:
group_ids: "[2,3]"
The data object should contain the following properties:
group_idsstringrequiredGroup(s) to disarm. One or many (as array)