turn on and turn off different device at the same time in rainmaker
{
"requestId": "6894439706274654516",
"inputs": [
{
"intent": "action.devices.EXECUTE",
"payload": {
"commands": [
{
"devices": [
{
"id": "123",
"customData": {
"deviceName": "action.devices.types.OUTLET"
}
},
{
"id": "456",
"customData": {
"deviceName": "action.devices.types.OUTLET"
}
},
{
"id": "789",
"customData": {
"deviceName": "action.devices.types.SWITCH"
}
}
],
"execution": [
{
"command": "action.devices.commands.OnOff",
"params": {
"on": true
}
},
{
"command": "action.devices.commands.OnOff",
"params": {
"on": false
}
}
]
}
]
}
}
]
}