disarmMultiple(array)
Disarm motion sensor on a list of tags/sensors.
Arguments
array: a single argument of Javascript array. After the function finishes, properties such as
eventState of each Tag object inside the array will be updated. You can check it to determine if the disarm was successful.
Examples
KumoApp.disarmMultiple(<#Tags to arm_[12|13|21|26|52|72]_N#>);
or
var tag1 = <#Tag 1 to arm_[12|13|21|26|52|72]_1#>
var tag2 = <#Tag 2 to arm_[12|13|21|26|52|72]_1#>
KumoApp.disarmMultiple([tag1, tag2]);
if(tag1.eventState==0)KumoApp.Log("tag 1 is now disarmed.");
else KumoApp.Log("tag 1 is still armed.");