Skip to main content

Label

The label registry reflects Home Assistant labels. The entity registry contains tools for applying labels to entities

Service Interactions

public propertydescription
createCreates a new label in home assitant
currentCurrent array of known labels
deleteRemove an label from home assistant
listRequest a fresh list of labels from home assistant
updateModify an existing label

Type Defintions

import { TServiceParams } from "@digital-alchemy/core";
import { TLabelId } from "@digital-alchemy/hass";

export function MyService() {
return {
pickALabel(label_id: TLabelId) {
//
},
};
}