Update zone helper
zones_update_zoneUpdate an existing UI-helper zone's coordinates, radius, name, or icon. Only works for zones created via zones_create_zone; YAML zones and zone.home are rejected.
Instructions
Update fields on an existing zone helper.
Calls WS zone/update; only the parameters you pass are sent, so
omitted fields keep their current value. Only works for zones created
via zones_create_zone (UI helpers) — zone.home and YAML-defined
zones reject this WS command.
Use when: adjusting a UI-helper zone's coordinates, radius or name.
Returns: dict with status, zone_id, and the raw WS result.
Errors: on failure (e.g. a YAML zone or zone.home), returns
{"error": "<message>", "hint": "...", "zone_id": ...} instead of
raising.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | New mdi icon identifier; omit to leave the current icon unchanged. | |
| name | No | New display name; omit to leave the current name unchanged. | |
| radius | No | New zone radius in meters; omit to leave the current radius unchanged. | |
| passive | No | New passive flag; omit to leave the current setting unchanged. | |
| latitude | No | New latitude in decimal degrees; omit to leave the current latitude unchanged. | |
| entity_id | Yes | Zone entity_id to update, e.g. 'zone.office'; obtain it from zones_list_zones. | |
| longitude | No | New longitude in decimal degrees; omit to leave the current longitude unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||