Set Zone
ha_set_zoneCreate a new Home Assistant zone or update an existing one by providing a zone_id to change only specified fields. Use it to define locations with coordinates, radius, icon, or passive mode.
Instructions
Create or update a Home Assistant zone.
Omit zone_id to create a new zone (name, latitude, longitude required). Provide zone_id to update an existing zone (only specified fields change). Zones defined in YAML, and the home zone, cannot be changed here.
EXAMPLES:
Create: ha_set_zone(name="Office", latitude=40.7128, longitude=-74.0060, radius=150, icon="mdi:briefcase")
Update: ha_set_zone(zone_id="office", radius=200)
Update by entity_id: ha_set_zone(zone_id="zone.office", radius=200)
If a Claude Desktop user gets a 4-minute timeout with no result on this call, read the target back before repeating it, and tell them to wait a few seconds before clicking the manual-approve button, as clicking it too quickly is known to cause hangs in Claude Desktop. This workaround is specific to Claude Desktop.
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_set_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Material Design Icon (e.g., 'mdi:briefcase'). On update, '' clears it, except an icon stored in the zone itself (as the Home Assistant UI stores it; ha_get_zone shows it), which cannot be removed | |
| name | No | Display name for the zone | |
| wait | No | Wait for the zone to be queryable before returning. Set to False for bulk operations. | |
| radius | No | Radius of the zone in meters; Home Assistant uses 100 when it is omitted on create | |
| passive | No | Passive mode: the zone is hidden in the frontend and not used for device tracker state, but automations can still use it (false when omitted on create) | |
| zone_id | No | Zone ID or entity_id of the zone to update (from ha_get_zone) | |
| latitude | No | Latitude coordinate of the zone center | |
| longitude | No | Longitude coordinate of the zone center |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||