From 6c9211e787107ea5042da4539090f8a08201c332 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sun, 9 Feb 2020 16:04:26 +0000 Subject: [PATCH] Don't tell to restart if not needed --- .../repositorybanner/IntegrationFirstInstall.ts | 10 +--------- src/localize/languages/en.json | 1 + 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/components/repositorybanner/IntegrationFirstInstall.ts b/src/components/repositorybanner/IntegrationFirstInstall.ts index bb8a0470..28040ef9 100644 --- a/src/components/repositorybanner/IntegrationFirstInstall.ts +++ b/src/components/repositorybanner/IntegrationFirstInstall.ts @@ -5,24 +5,16 @@ import { HacsRepositoryBanner } from "./HacsRepositoryBanner"; @customElement("hacs-repository-banner-integration-first-install") export class RepositoryBannerIntegrationFirstInstall extends HacsRepositoryBanner { protected render(): TemplateResult | void { - const title = this.hacs.localize("repository_banner.restart_pending"); + const title = this.hacs.localize("repository_banner.config_flow_title"); return html`
- ${this.hacs.localize("repository_banner.restart")} -

- ${this.hacs.localize("repository_banner.restart")} ${this.hacs.localize("repository_banner.config_flow")}
${this.hacs.localize("repository_banner.no_restart_required")} 🎉
-