Remove label from entity
labels_remove_label_from_entityRemove a label from a Home Assistant entity while preserving its other labels. Use to untag one entity without deleting the label globally.
Instructions
Remove a label from an entity, keeping its other labels.
Reads the entity's current labels list from the entity registry,
drops label_id if present, and writes the remaining list back via WS
config/entity_registry/update.
Use when: untagging one entity from a label without touching its other
labels.
Not for: deleting the label itself everywhere — use
labels_delete_label.
Returns: dict with entity_id, the resulting labels list, the raw WS
result, and ok.
Errors: on a WS failure, returns {"entity_id": ..., "label_id": ..., "ok": false, "error": "<message>"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_id | Yes | Label registry ID to remove; obtain it from labels_list_labels. | |
| entity_id | Yes | Entity ID to untag, e.g. 'light.kitchen'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||