diff --git a/src/dialogs/config-flow/step-flow-create-entry.ts b/src/dialogs/config-flow/step-flow-create-entry.ts index 483c43c326..bfc0527511 100644 --- a/src/dialogs/config-flow/step-flow-create-entry.ts +++ b/src/dialogs/config-flow/step-flow-create-entry.ts @@ -235,9 +235,13 @@ class StepFlowCreateEntry extends LitElement { fireEvent(this, "flow-update", { step: undefined }); if (this.step.result && this.navigateToResult) { - navigate( - `/config/integrations/integration/${this.step.result.domain}#config_entry=${this.step.result.entry_id}` - ); + if (this.devices.length === 1) { + navigate(`/config/devices/device/${this.devices[0].id}`); + } else { + navigate( + `/config/integrations/integration/${this.step.result.domain}#config_entry=${this.step.result.entry_id}` + ); + } } }