File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
dialogs/config-flow/previews Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const subscribePreviewGeneric = (
13
13
hass : HomeAssistant ,
14
14
domain : string ,
15
15
flow_id : string ,
16
- flow_type : "config_flow" | "options_flow" ,
16
+ flow_type : "config_flow" | "options_flow" | "config_subentries_flow" ,
17
17
user_input : Record < string , any > ,
18
18
callback : ( preview : GenericPreview ) => void
19
19
) : Promise < UnsubscribeFunc > =>
Original file line number Diff line number Diff line change @@ -82,7 +82,11 @@ export class FlowPreviewGeneric extends LitElement {
82
82
( await this . _unsub ) ( ) ;
83
83
this . _unsub = undefined ;
84
84
}
85
- if ( this . flowType !== "config_flow" && this . flowType !== "options_flow" ) {
85
+ if (
86
+ this . flowType !== "config_flow" &&
87
+ this . flowType !== "options_flow" &&
88
+ this . flowType !== "config_subentries_flow"
89
+ ) {
86
90
return ;
87
91
}
88
92
this . _error = undefined ;
You can’t perform that action at this time.
0 commit comments