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
This commit is contained in:
springstan 2019-10-13 15:57:24 +02:00 committed by Bram Kragten
parent f9b0a0fc13
commit b94da1bd19
2 changed files with 18 additions and 0 deletions

View File

@ -79,6 +79,18 @@ class StepFlowPickHandler extends LitElement {
` `
)} )}
</div> </div>
<p>
${this.hass.localize(
"ui.panel.config.integrations.note_about_integrations"
)}<br />
${this.hass.localize(
"ui.panel.config.integrations.note_about_website_reference"
)}<a href="https://www.home-assistant.io/integrations/"
>${this.hass.localize(
"ui.panel.config.integrations.home_assistant_website"
)}.</a
>
</p>
`; `;
} }
@ -119,6 +131,9 @@ class StepFlowPickHandler extends LitElement {
paper-item { paper-item {
cursor: pointer; cursor: pointer;
} }
p {
text-align: center;
}
`; `;
} }
} }

View File

@ -1164,6 +1164,9 @@
"discovered": "Discovered", "discovered": "Discovered",
"configured": "Configured", "configured": "Configured",
"new": "Set up a new integration", "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", "configure": "Configure",
"none": "Nothing configured yet", "none": "Nothing configured yet",
"config_entry": { "config_entry": {