@iflow-mcp/coolver-home-assistant-mcp
Version:
Enable Cursor, VS Code, Claude Code or any MCP-enabled IDE to help you vibecode and manage Home Assistant: create automations, design dashboards, tweak themes, modify configs, and deploy changes using natural language
86 lines • 4.58 kB
TypeScript
export interface HAClientConfig {
baseURL: string;
token: string;
}
export declare class HAClient {
private client;
constructor(config: HAClientConfig);
readFile(path: string): Promise<string>;
writeFile(path: string, content: string, commitMessage?: string): Promise<void>;
listFiles(directory?: string): Promise<any[]>;
deleteFile(path: string): Promise<void>;
listEntities(domain?: string): Promise<any[]>;
getEntityState(entityId: string): Promise<any>;
renameEntity(oldEntityId: string, newEntityId: string): Promise<any>;
getEntityRegistryList(): Promise<any[]>;
getEntityRegistryEntry(entityId: string): Promise<any>;
updateEntityRegistry(entityId: string, updateData: any): Promise<any>;
removeEntityRegistryEntry(entityId: string): Promise<any>;
findDeadEntities(): Promise<any>;
getAreaRegistryList(): Promise<any[]>;
getAreaRegistryEntry(areaId: string): Promise<any>;
createAreaRegistryEntry(name: string, aliases?: string[]): Promise<any>;
updateAreaRegistryEntry(areaId: string, name?: string, aliases?: string[]): Promise<any>;
deleteAreaRegistryEntry(areaId: string): Promise<any>;
getDeviceRegistryList(): Promise<any[]>;
getDeviceRegistryEntry(deviceId: string): Promise<any>;
updateDeviceRegistry(deviceId: string, updateData: any): Promise<any>;
removeDeviceRegistryEntry(deviceId: string): Promise<any>;
createHelper(type: string, config: any, commitMessage?: string): Promise<any>;
listHelpers(): Promise<any>;
deleteHelper(entityId: string, commitMessage?: string): Promise<any>;
createAutomation(config: any, commitMessage?: string): Promise<any>;
listAutomations(): Promise<any[]>;
deleteAutomation(automationId: string, commitMessage?: string): Promise<any>;
createScript(config: any, commitMessage?: string): Promise<any>;
listScripts(): Promise<any[]>;
deleteScript(scriptId: string, commitMessage?: string): Promise<any>;
gitCommit(message: string): Promise<any>;
gitHistory(limit?: number): Promise<any[]>;
gitRollback(commitHash: string): Promise<any>;
gitDiff(commit1?: string, commit2?: string): Promise<any>;
checkConfig(): Promise<any>;
reloadConfig(component?: string): Promise<any>;
getLogs(limit?: number, level?: string): Promise<any>;
getLogbookEntries(params?: Record<string, any>): Promise<any>;
healthCheck(): Promise<any>;
hacsInstall(): Promise<any>;
hacsUninstall(): Promise<any>;
hacsStatus(): Promise<any>;
hacsListRepositories(): Promise<any>;
hacsInstallRepository(repository: string, category?: string): Promise<any>;
hacsSearch(query: string, category?: string): Promise<any>;
hacsUpdateAll(): Promise<any>;
hacsGetRepositoryDetails(repositoryId: string): Promise<any>;
listStoreAddons(): Promise<any>;
listAvailableAddons(): Promise<any>;
listInstalledAddons(): Promise<any>;
getAddonInfo(slug: string): Promise<any>;
getAddonLogs(slug: string, lines?: number): Promise<any>;
installAddon(slug: string): Promise<any>;
uninstallAddon(slug: string): Promise<any>;
startAddon(slug: string): Promise<any>;
stopAddon(slug: string): Promise<any>;
restartAddon(slug: string): Promise<any>;
updateAddon(slug: string): Promise<any>;
getAddonOptions(slug: string): Promise<any>;
setAddonOptions(slug: string, options: any): Promise<any>;
listRepositories(): Promise<any>;
addRepository(repositoryUrl: string): Promise<any>;
analyzeEntitiesForDashboard(): Promise<any>;
previewDashboard(): Promise<any>;
applyDashboard(dashboardConfig: any, createBackup?: boolean, filename?: string, registerDashboard?: boolean, commitMessage?: string): Promise<any>;
deleteDashboard(filename: string, removeFromConfig?: boolean, createBackup?: boolean, commitMessage?: string): Promise<any>;
restartHomeAssistant(): Promise<any>;
createCheckpoint(userRequest: string): Promise<any>;
endCheckpoint(): Promise<any>;
callService(domain: string, service: string, serviceData?: any, target?: any): Promise<any>;
listThemes(): Promise<any[]>;
getTheme(themeName: string): Promise<any>;
createTheme(themeName: string, themeConfig: any, commitMessage?: string): Promise<any>;
updateTheme(themeName: string, themeConfig: any, commitMessage?: string): Promise<any>;
deleteTheme(themeName: string, commitMessage?: string): Promise<any>;
reloadThemes(): Promise<any>;
checkThemeConfig(): Promise<any>;
}
//# sourceMappingURL=ha-client.d.ts.map