From 767b2b6b9c289db00b2a36160ce20abb59dadd41 Mon Sep 17 00:00:00 2001 From: Cody C <50791984+codyc1515@users.noreply.github.com> Date: Wed, 31 Jan 2024 01:39:57 +1300 Subject: [PATCH] Add documentation link to ZHA pairing mode page (#19518) Add pairing instructions docs link to ZHA Add Devices page While we ask people to refer to the instructions of their device, they may need some further support to locate this. We can direct them to the ZHA documentation. --- .../zha/zha-add-devices-page.ts | 21 +++++++++++++++++-- src/translations/en.json | 3 ++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/panels/config/integrations/integration-panels/zha/zha-add-devices-page.ts b/src/panels/config/integrations/integration-panels/zha/zha-add-devices-page.ts index cd88f87114..c33ea1a61c 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-add-devices-page.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-add-devices-page.ts @@ -17,6 +17,7 @@ import { import "../../../../../layouts/hass-tabs-subpage"; import { haStyle } from "../../../../../resources/styles"; import { HomeAssistant, Route } from "../../../../../types"; +import { documentationUrl } from "../../../../../util/documentation-url"; import { zhaTabs } from "./zha-config-dashboard"; import "./zha-device-pairing-status-card"; import "../../../../../components/ha-textarea"; @@ -118,8 +119,24 @@ class ZHAAddDevicesPage extends LitElement { ? html`