Update area
areas_update_areaUpdate an existing Home Assistant area by renaming it or changing its icon, floor, or aliases; omitted fields keep current values and assignments stay intact.
Instructions
Rename an area or change its icon, floor or aliases.
Calls WS config/area_registry/update; only the parameters you pass
are sent, so omitted fields keep their current value. The area_id
never changes, so entities and devices stay assigned to the area.
Use when: renaming a room, or moving it to another floor.
Not for: creating a new area — use areas_create_area; moving a
device or an entity between areas — use devices_update_device or
entities_assign_entity_to_area.
Returns: the updated area registry dict (area_id, name, floor_id, icon,
aliases, picture).
Errors: raises ValueError when no field to change is given; an
unknown area_id or floor_id, or a name already used by another area,
fails with the WS error from Home Assistant.
Limits: the previous values are not returned; aliases replaces the
whole list. The icon and floor cannot be cleared with this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | New mdi icon identifier, e.g. 'mdi:stove'; omit to keep the current icon. | |
| name | No | New display name, e.g. 'Kitchen'; omit to keep the current name. | |
| aliases | No | Full replacement list of voice aliases; [] clears them, omit to keep the current aliases. | |
| area_id | Yes | Area registry ID to update; obtain it from areas_list_areas. | |
| floor_id | No | Floor registry ID to move the area to; obtain it from areas_list_floors. Omit to keep the current floor. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||