diff --git a/src/panels/config/helpers/forms/ha-counter-form.ts b/src/panels/config/helpers/forms/ha-counter-form.ts index 58af320e52..92c844af88 100644 --- a/src/panels/config/helpers/forms/ha-counter-form.ts +++ b/src/panels/config/helpers/forms/ha-counter-form.ts @@ -64,7 +64,6 @@ class HaCounterForm extends LitElement { if (!this.hass) { return nothing; } - const nameInvalid = !this._name || this._name.trim() === ""; return html`