scripts/device_remove
- Remove Zigbee device
Edit
Field | Type | Required | Description |
---|---|---|---|
deviceId | string | + | device ID to remove |
Edit
Edit
Edit
{
"method": "hub.extensions.plugin.run",
"id": "_ID_",
"params": {
"script": "HUB:zigbee/scripts/device_remove",
"scriptParams": {
"deviceId": "<DEVICE_ID>"
}
}
}
Edit
{
"error": null,
"id": "_ID_",
"method": "hub.extensions.plugin.run",
"result": {},
"sender": {
"conn_id": "635c4514-f764-49d7-a1b4-5c5b7b35c745",
"type": "ui"
}
}