Show if config entry is not loaded (#8717)

This commit is contained in:
Bram Kragten
2021-03-29 11:33:41 +02:00
committed by GitHub
parent 7f7d89c745
commit c65d414b7b
5 changed files with 67 additions and 9 deletions

View File

@@ -315,7 +315,7 @@ class DataEntryFlowDialog extends LitElement {
this._step.type === "create_entry"
) {
if (this._params!.flowConfig.loadDevicesAndAreas) {
this._fetchDevices(this._step.result);
this._fetchDevices(this._step.result.entry_id);
this._fetchAreas();
} else {
this._devices = [];