in the APP routines, one or more devices can be selected and you can choose ANY or ALL option, is this possible (i assume yes) to do in a Rule? i tried the keyword ANY, but it failed…
{
"name": "testing (any)",
"actions": [
{
"if": {
"any": {
"changes": {
"equals": {
"left": {
"device": {
"devices": [
"6e2f6f3f-cbf1-44b6-88a0-bc2c387b7aab",
"310ea468-554c-4f85-bf8a-a444d4447dc1",
"f2c2a3d0-c1b6-4ff6-a27a-c9c634453fea"
],
"component": "main",
"capability": "switch",
"attribute": "switch"
}
},
"right": {
"string": "on"
}
}
}
},
"then": [
{
"command": {
"devices": [
"49d12d5c-3a48-4b3e-8bba-4411d61b79e5"
],
"commands": [
{
"component": "main",
"capability": "switch",
"command": "switch",
"arguments": [
{
"string": "on"
}
]
}
]
}
}
]
}
}
]
}
? Select a location. 1
Error: Request failed with status code 422: {"requestId":"673CAA34-DC18-49DB-8F60-DAFC1869552B","error":{"code":"ConstraintViolationError","message":"The request is
malformed.","details":[{"code":"BodyMalformedError","target":"any","message":"Unrecognized field \"any\" (class v20190122.internal.st.behaviors.IfAction), not marked as ignorable","details":[]}]}}