mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
Add helpers to list when searching in add integration (#12159)
This commit is contained in:
@@ -12,10 +12,14 @@ import {
|
||||
} from "../../data/data_entry_flow";
|
||||
import { HomeAssistant } from "../../types";
|
||||
|
||||
export interface FlowHandlers {
|
||||
integrations: string[];
|
||||
helpers: string[];
|
||||
}
|
||||
export interface FlowConfig {
|
||||
loadDevicesAndAreas: boolean;
|
||||
|
||||
getFlowHandlers?: (hass: HomeAssistant) => Promise<string[]>;
|
||||
getFlowHandlers?: (hass: HomeAssistant) => Promise<FlowHandlers>;
|
||||
|
||||
createFlow(hass: HomeAssistant, handler: string): Promise<DataEntryFlowStep>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user