Skip to main content

Configuration

The config registry is used for interacting with the integration / platform registry

Service Interactions

public propertydescription
byTitleType safe lookups converting a platform title to TPlatformId
currentCurrent list of known loaded platforms in home assitant
getRefresh the list of loaded platforms
getServicesList the known / loaded callable srvices
isServiceReturns true if (domain, service) pairing is a valid service
loadServiceList Refresh the list of known services

Type Defintions

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

export function MyService() {
return {
pickAPlatform(platform_id: TPlatformId) {
//
},
};
}