diff --git a/src/panels/lovelace/badges/hui-view-badges.ts b/src/panels/lovelace/badges/hui-view-badges.ts index 2c0cee46fa08..34071bbd365a 100644 --- a/src/panels/lovelace/badges/hui-view-badges.ts +++ b/src/panels/lovelace/badges/hui-view-badges.ts @@ -20,7 +20,7 @@ const BADGE_SORTABLE_OPTIONS: HaSortableOptions = { } as HaSortableOptions; @customElement("hui-view-badges") -export class HuiStateLabelBadge extends LitElement { +export class HuiViewBadges extends LitElement { @property({ attribute: false }) public hass!: HomeAssistant; @property({ attribute: false }) public lovelace!: Lovelace; @@ -171,3 +171,9 @@ export class HuiStateLabelBadge extends LitElement { `; } } + +declare global { + interface HTMLElementTagNameMap { + "hui-view-badges": HuiViewBadges; + } +}