diff --git a/src/dialogs/config-flow/step-flow-pick-handler.ts b/src/dialogs/config-flow/step-flow-pick-handler.ts index 6812d118ec..d0afab3efb 100644 --- a/src/dialogs/config-flow/step-flow-pick-handler.ts +++ b/src/dialogs/config-flow/step-flow-pick-handler.ts @@ -309,7 +309,21 @@ class StepFlowPickHandler extends LitElement { // If the component isn't loaded, ask them to load the integration first showConfirmationDialog(this, { text: this.hass.localize( - "ui.panel.config.integrations.config_flow.missing_zwave_js" + "ui.panel.config.integrations.config_flow.missing_zwave_zigbee", + { + integration: "Z-Wave", + supported_hardware_link: html`${this.hass.localize( + "ui.panel.config.integrations.config_flow.supported_hardware" + )}`, + } + ), + confirmText: this.hass.localize( + "ui.panel.config.integrations.config_flow.proceed" ), confirm: () => { fireEvent(this, "handler-picked", { @@ -328,7 +342,24 @@ class StepFlowPickHandler extends LitElement { if (!isComponentLoaded(this.hass, "zha")) { showConfirmationDialog(this, { text: this.hass.localize( - "ui.panel.config.integrations.config_flow.missing_zha" + "ui.panel.config.integrations.config_flow.missing_zwave_zigbee", + { + integration: "Zigbee", + supported_hardware_link: html`${this.hass.localize( + "ui.panel.config.integrations.config_flow.supported_hardware" + )}`, + } + ), + confirmText: this.hass.localize( + "ui.panel.config.integrations.config_flow.proceed" ), confirm: () => { fireEvent(this, "handler-picked", { diff --git a/src/translations/en.json b/src/translations/en.json index d916459869..a807666c00 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2852,8 +2852,9 @@ "not_loaded": "The integration could not be loaded, try to restart Home Assistant.", "missing_credentials": "Setting up {integration} requires configuring application credentials. Do you want to do that now?", "supported_brand_flow": "Support for {supported_brand} devices is provided by {flow_domain_name}. Do you want to continue?", - "missing_zwave_js": "To add a Z-Wave device, you first need to set up the Z-Wave integration. Do you want to do that now?", - "missing_zha": "To add a Zigbee device, you first need to set up the Zigbee Home Automation integration. Do you want to do that now?" + "missing_zwave_zigbee": "To add a {integration} device, you first need {supported_hardware_link} and the {integration} integration set up. If you already have the hardware then you can proceed with the setup of {integration}.", + "supported_hardware": "supported hardware", + "proceed": "Proceed" } }, "users": {