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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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