regex match for event data only (not for event name)
Match the regex for event data only. Previously it was done for both event name & data. i.e. (now the configuration looks like this). { "test": { "if_operator": "OR", "if" : [ { "event": "ubus.object.add", "regex": false, "match": { "path": "^wifi\.dataelements\.collect" } }, { "event": "ubus.object.remove", "regex": true, "match": { "path": "^wifi\.dataelements\.collect" } } ], "then" : [ { "object": "led.internet", "method":"set", "args" : { "state": "ok" }, } ] } }