Skip to content

Commit 9b1bb65

Browse files
committed
Remove unused WS parameters
1 parent 5ad17d2 commit 9b1bb65

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/data/preview.ts

-4
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ export const subscribePreviewGeneric = (
1212
hass: HomeAssistant,
1313
domain: string,
1414
flow_id: string,
15-
flow_type: "config_flow" | "options_flow",
16-
user_input: Record<string, any>,
1715
callback: (preview: GenericPreview) => void
1816
): Promise<UnsubscribeFunc> =>
1917
hass.connection.subscribeMessage(callback, {
2018
type: `${domain}/start_preview`,
2119
flow_id,
22-
flow_type,
23-
user_input,
2420
});
2521

2622
export const previewModule = (domain: string): string =>

src/dialogs/config-flow/previews/flow-preview-generic.ts

-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ export class FlowPreviewGeneric extends LitElement {
8484
this.hass,
8585
this.domain,
8686
this.flowId,
87-
this.flowType,
88-
this.stepData,
8987
this._setPreview
9088
);
9189
fireEvent(this, "set-flow-errors", { errors: {} });

0 commit comments

Comments
 (0)