Add loading screen when external step done (#3261)

This commit is contained in:
Paulus Schoutsen
2019-06-11 15:19:12 -07:00
committed by GitHub
parent 8b93af1b56
commit df10cff842

View File

@@ -75,8 +75,9 @@ class StepFlowExternal extends LitElement {
return;
}
const step = await fetchConfigFlow(this.hass, this.step.flow_id);
fireEvent(this, "flow-update", { step });
fireEvent(this, "flow-update", {
stepPromise: fetchConfigFlow(this.hass, this.step.flow_id),
});
},
"data_entry_flow_progressed"
);