Get Label
ha_config_get_labelRetrieve Home Assistant label configurations. Get a specific label by ID or list all labels to view their details.
Instructions
Get label info - list all labels or get a specific one by ID.
Without a label_id: Lists all Home Assistant labels with their configurations. With a label_id: Returns configuration for that specific label.
LABEL PROPERTIES:
ID (label_id), Name
Color (optional), Icon (optional), Description (optional)
EXAMPLES:
List all labels: ha_config_get_label()
Get specific label: ha_config_get_label("my_label_id")
Use ha_config_set_label() to create or update labels. Use ha_set_entity(labels=["label1", "label2"]) to assign labels to entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_id | No | ID of the label to retrieve. If omitted, lists all labels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||