Hello,
i have a json like this:
[
{
"externalDeviceId": "b827ebe81d30.2",
"deviceCookie": {
"updatedcookie": "old or new value"
},
"friendlyName": "Z2 Perron\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
"manufacturerInfo": {
"manufacturerName": "TEXECOM",
"modelName": "Texecom detector",
"hwVersion": "N/A",
"swVersion": "N/A"
},
"deviceContext": {
"roomName": "Texecom panel",
"groups": [
"Salon Motions",
"House Motions"
],
"categories": [
"motion-sensor"
]
},
"deviceHandlerType": "7505e0c4-416f-4afa-ad3e-8c4cc6c3be9d",
"deviceUniqueId": "b827ebe81d30.2"
},
{
"externalDeviceId": "b827ebe81d30.3",
"deviceCookie": {
"updatedcookie": "old or new value"
},
"friendlyName": "Z3 PIR Salon Wire\u0000\u0000",
"manufacturerInfo": {
"manufacturerName": "TEXECOM",
"modelName": "Texecom detector",
"hwVersion": "N/A",
"swVersion": "N/A"
},
"deviceContext": {
"roomName": "Texecom panel",
"groups": [
"Salon Motions",
"House Motions"
],
"categories": [
"motion-sensor"
]
},
"deviceHandlerType": "7505e0c4-416f-4afa-ad3e-8c4cc6c3be9d",
"deviceUniqueId": "b827ebe81d30.3"
},
{
"externalDeviceId": "b827ebe81d30.4",
"deviceCookie": {
"updatedcookie": "old or new value"
},
"friendlyName": "Z4 Terrasse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
"manufacturerInfo": {
"manufacturerName": "TEXECOM",
"modelName": "Texecom detector",
"hwVersion": "N/A",
"swVersion": "N/A"
},
"deviceContext": {
"roomName": "Texecom panel",
"groups": [
"Salon Motions",
"House Motions"
],
"categories": [
"motion-sensor"
]
},
"deviceHandlerType": "7505e0c4-416f-4afa-ad3e-8c4cc6c3be9d",
"deviceUniqueId": "b827ebe81d30.4"
}
]
I would delete all *.deviceContext.groups in a change node, is it possible?
and i would like add aproperty "enable" for each object in the array,
may you explain me how to do it?.