• Example: compare value of any device that matches the device group:
  • Define a device group, make a condition block to make a comparison of an hub.device.updated broadcast with the condition value.
    The comparison is stateless. It doesn’t have information about previous value of any device in the group.
  • Comparison type: stateless
				
					{
    "_id": "6388c7200000005ae756292c",
    "actionGroup": "6388c7200000005ae756292c",
    "blockOptions": {
        "method": {
            "args": {
                "armed": "armed",
                "deviceGroup": "deviceGroup",
                "reachable": "reachable"
            },
            "name": "isDeviceState"
        }
    },
    "blockType": "when",
    "fields": [
        {
            "name": "deviceGroup",
            "type": "device_group",
            "value": "6388c7200000005ae7562929"
        },
        {
            "name": "armed",
            "type": "bool",
            "value": false
        },
        {
            "name": "reachable",
            "type": "bool",
            "value": false
        }
    ]
}