Update device registry entry
devices_update_deviceUpdate an existing device registry entry to rename a device, move it to another area, or enable/disable it; only provided fields change.
Instructions
Update fields on an existing device registry entry.
Calls WS config/device_registry/update; only the parameters you pass
are sent, so omitted or null fields are left unchanged.
Use when: renaming a device, moving it to another area, or enabling or
disabling it.
Returns: dict with device_id and result (the updated device,
slimmed like devices_list_devices).
Limits: area_id can only be set here, not cleared — there is no
parameter to remove an existing area assignment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area_id | No | Area registry ID to assign the device to, from areas_list_areas; omit to leave the current area unchanged. | |
| device_id | Yes | Device registry ID to update; obtain it from devices_list_devices. | |
| disabled_by | No | 'user' disables the device and its entities, '' (empty string) re-enables it; omit to leave the disabled state unchanged. | |
| name_by_user | No | New user-facing name override for the device; omit to leave the current name unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||