Rename device
rename_deviceRename a smart home device in Domoticz by providing its numeric idx or current name, then setting the new name to update the device.
Instructions
Rename device. Preferred: idx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idx | No | Numeric Domoticz idx; preferred over name when known | |
| new_name | Yes | New device name | |
| old_name | No | Current device name, used when idx is omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional Domoticz response title | |
| status | Yes | Status returned by Domoticz, normally OK |