Define a device group, define an item group, make a condition block to make a comparison of an hub.item.updated broadcast with the condition value.

The comparison is stateles s. It doesn’t have information about previous value of any item in the group.

Comparison type: stateless

				
					{
    "blockType":"when",
    "blockOptions":{
        "method":{
            "name":"compareValues",
            "args":{
                "deviceGroup":"deviceGroup",
                "itemGroup":"itemGroup",
                "comparator":"comparator",
                "valueType":"valueType",
                "value":"value"
            }
        }
    },
    "fields":[
        {
            "name":"deviceGroup",
            "type":"device_group",
            "value":"5de64f6a70c7be0541cc0853"
        },
        {
            "name":"itemGroup",
            "type":"item_group",
            "value":"5de64f6a70c7be0541cc0854"
        },
        {
            "name":"comparator",
            "type":"string",
            "value": ">"
        },
        {
            "name": "valueType",
            "type": "string",
            "value": "int"
        },
        {
            "name":"value",
            "type":"int",
            "value": 51
        }
    ]
}				
			
Available since: Group operations filtering is available since