Assign entity to area
entities_assign_entity_to_areaAssign an entity to a new area in Home Assistant, replacing its current area assignment. Use when moving an entity to a different area in the registry.
Instructions
Assign an entity to an area, replacing its current area assignment.
Calls WS config/entity_registry/update with area_id=area_id; any
previous area assignment is overwritten and not returned.
Use when: moving an entity to a different area in the registry.
Not for: renaming it, or toggling exposure — use
entities_update_entity_name or entities_set_entity_exposure.
Returns: the updated entity registry entry from Home Assistant.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_id": "<entity_id>",
"area_id": "<area_id>"
},
"name": "entities_assign_entity_to_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area_id | Yes | Area registry ID to assign the entity to, replacing any current area. | |
| entity_id | Yes | Full entity ID to reassign, e.g. 'light.kitchen'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||