diff --git a/src/panels/lovelace/components/hui-badge-edit-mode.ts b/src/panels/lovelace/components/hui-badge-edit-mode.ts index a2355346f44b..5ccee7a24a89 100644 --- a/src/panels/lovelace/components/hui-badge-edit-mode.ts +++ b/src/panels/lovelace/components/hui-badge-edit-mode.ts @@ -27,7 +27,7 @@ import { import { Lovelace } from "../types"; @customElement("hui-badge-edit-mode") -export class HuiCardEditMode extends LitElement { +export class HuiBadgeEditMode extends LitElement { @property({ attribute: false }) public hass!: HomeAssistant; @property({ attribute: false }) public lovelace!: Lovelace; @@ -270,6 +270,6 @@ export class HuiCardEditMode extends LitElement { declare global { interface HTMLElementTagNameMap { - "hui-badge-edit-mode": HuiCardEditMode; + "hui-badge-edit-mode": HuiBadgeEditMode; } } diff --git a/src/panels/lovelace/editor/badge-editor/hui-badge-visibility-editor.ts b/src/panels/lovelace/editor/badge-editor/hui-badge-visibility-editor.ts index 26a319ac36ee..f7f1612d9fe5 100644 --- a/src/panels/lovelace/editor/badge-editor/hui-badge-visibility-editor.ts +++ b/src/panels/lovelace/editor/badge-editor/hui-badge-visibility-editor.ts @@ -8,7 +8,7 @@ import { Condition } from "../../common/validate-condition"; import "../conditions/ha-card-conditions-editor"; @customElement("hui-badge-visibility-editor") -export class HuiCardVisibilityEditor extends LitElement { +export class HuiBadgeVisibilityEditor extends LitElement { @property({ attribute: false }) public hass!: HomeAssistant; @property({ attribute: false }) public config!: LovelaceCardConfig; @@ -54,6 +54,6 @@ export class HuiCardVisibilityEditor extends LitElement { declare global { interface HTMLElementTagNameMap { - "hui-badge-visibility-editor": HuiCardVisibilityEditor; + "hui-badge-visibility-editor": HuiBadgeVisibilityEditor; } }