ha_update_device
Rename a Home Assistant device and move it to another area by device ID or entity ID; moving the device also relocates its entities that lack their own area.
Instructions
Rename a device and/or move it to another area. Identify it by device_id or by one of its entity_ids. Moving a device moves all its entities that don't have an area of their own.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ha_update_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New device name (name_by_user). null, "" or "null" restores the integration's name. Omit to keep. | |
| area_id | No | Area id from ha_list_areas. null removes the area. Omit to keep. | |
| device_id | No | Device registry id (optional if entity_id is given) | |
| entity_id | No | Any entity of the device, e.g. climate.bedroom_room_climate_control |