diff --git a/src/badges/template/template-badge.ts b/src/badges/template/template-badge.ts index b8da20e6..e7538231 100644 --- a/src/badges/template/template-badge.ts +++ b/src/badges/template/template-badge.ts @@ -8,6 +8,7 @@ import { PropertyValues, } from "lit"; import { customElement, property, state } from "lit/decorators.js"; +import { classMap } from "lit/directives/class-map.js"; import { ifDefined } from "lit/directives/if-defined.js"; import { styleMap } from "lit/directives/style-map.js"; import { @@ -211,7 +212,10 @@ export class HuiEntityBadge extends LitElement implements LovelaceBadge { return html`