Fix and update step flow create (#22223)

* Fix and update step flow create

* cleanup
This commit is contained in:
Bram Kragten
2024-10-04 14:13:21 +02:00
committed by GitHub
parent 365b712976
commit 0110bdd24a
6 changed files with 64 additions and 105 deletions

View File

@@ -17,7 +17,7 @@ import type { HomeAssistant } from "../../types";
export interface FlowConfig {
flowType: FlowType;
loadDevicesAndAreas: boolean;
showDevices: boolean;
createFlow(hass: HomeAssistant, handler: string): Promise<DataEntryFlowStep>;
@@ -134,8 +134,7 @@ export interface FlowConfig {
export type LoadingReason =
| "loading_handlers"
| "loading_flow"
| "loading_step"
| "loading_devices_areas";
| "loading_step";
export interface DataEntryFlowDialogParams {
startFlowHandler?: string;