From 2687cf55a9fc73625a74a3119146d414432c993c Mon Sep 17 00:00:00 2001 From: karwosts Date: Fri, 10 Nov 2023 12:57:11 -0800 Subject: [PATCH] Fix login password form --- src/components/ha-form/ha-form-string.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ha-form/ha-form-string.ts b/src/components/ha-form/ha-form-string.ts index 8a7ec104923d..c26fe6de266b 100644 --- a/src/components/ha-form/ha-form-string.ts +++ b/src/components/ha-form/ha-form-string.ts @@ -25,7 +25,7 @@ const MASKED_FIELDS = ["password", "secret", "token"]; @customElement("ha-form-string") export class HaFormString extends LitElement implements HaFormElement { - @property() public hass!: HomeAssistant; + @property() public hass?: HomeAssistant; @property() public schema!: HaFormStringSchema; @@ -81,11 +81,11 @@ export class HaFormString extends LitElement implements HaFormElement { return html`