From b94da1bd19b5cf4e4ee13c82f73d5f8b6db6d952 Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Sun, 13 Oct 2019 15:57:24 +0200 Subject: [PATCH] Added note about more integrations to bottom of Set up new integration dialog (#3992) * Added note about more integrations to bottom of Set up new integration dialog * Fixed note about more integration by encapsulating it in one paragraph --- src/dialogs/config-flow/step-flow-pick-handler.ts | 15 +++++++++++++++ src/translations/en.json | 3 +++ 2 files changed, 18 insertions(+) diff --git a/src/dialogs/config-flow/step-flow-pick-handler.ts b/src/dialogs/config-flow/step-flow-pick-handler.ts index ef60141ba2..6eaa5a5b01 100644 --- a/src/dialogs/config-flow/step-flow-pick-handler.ts +++ b/src/dialogs/config-flow/step-flow-pick-handler.ts @@ -79,6 +79,18 @@ class StepFlowPickHandler extends LitElement { ` )} +

+ ${this.hass.localize( + "ui.panel.config.integrations.note_about_integrations" + )}
+ ${this.hass.localize( + "ui.panel.config.integrations.note_about_website_reference" + )}${this.hass.localize( + "ui.panel.config.integrations.home_assistant_website" + )}. +

`; } @@ -119,6 +131,9 @@ class StepFlowPickHandler extends LitElement { paper-item { cursor: pointer; } + p { + text-align: center; + } `; } } diff --git a/src/translations/en.json b/src/translations/en.json index d18a2448ea..96fd75e38b 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1164,6 +1164,9 @@ "discovered": "Discovered", "configured": "Configured", "new": "Set up a new integration", + "note_about_integrations": "Not all integrations can be configured via the UI yet.", + "note_about_website_reference": "More are available on the ", + "home_assistant_website": "Home Assistant website", "configure": "Configure", "none": "Nothing configured yet", "config_entry": {