From d0419f2b6f6703b8e629e54e59e56d2011cc3a11 Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Sun, 27 Aug 2023 12:01:36 +0000 Subject: [PATCH 1/2] Replace paper-input in cast --- cast/src/launcher/layout/hc-connect.ts | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/cast/src/launcher/layout/hc-connect.ts b/cast/src/launcher/layout/hc-connect.ts index bd1a5f743606..61af7ae1ec00 100644 --- a/cast/src/launcher/layout/hc-connect.ts +++ b/cast/src/launcher/layout/hc-connect.ts @@ -1,6 +1,5 @@ import "@material/mwc-button"; import { mdiCastConnected, mdiCast } from "@mdi/js"; -import "@polymer/paper-input/paper-input"; import { Auth, Connection, @@ -24,6 +23,8 @@ import "../../../../src/components/ha-svg-icon"; import "../../../../src/layouts/hass-loading-screen"; import { registerServiceWorker } from "../../../../src/util/register-service-worker"; import "./hc-layout"; +import "../../../../src/components/ha-textfield"; +import type { HaTextField } from "../../../../src/components/ha-textfield"; const seeFAQ = (qid) => html` See the FAQ for more @@ -116,13 +117,11 @@ export class HcConnect extends LitElement { To get started, enter your Home Assistant URL and click authorize. If you want a preview instead, click the show demo button.
-
-
${this.error}
` : ""}