List labels
labels_list_labelsList all Home Assistant labels to get their IDs and names. Use this to filter or assign labels to entities and devices.
Instructions
List all labels defined in Home Assistant.
Calls WS config/label_registry/list and returns the result unfiltered;
returns an empty list if the WS response is not a list.
Use when: you need label IDs and names before filtering or assigning
them to entities or devices.
Returns: list of label registry dicts (label_id, name, icon, color,
description).
Errors: on a WS failure, returns [{"error": "<message>"}] instead of
raising.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |