diff --git a/src/components/entity/state-badge.ts b/src/components/entity/state-badge.ts index d4820d8ea673..2a453075774d 100644 --- a/src/components/entity/state-badge.ts +++ b/src/components/entity/state-badge.ts @@ -136,7 +136,7 @@ export class StateBadge extends LitElement { backgroundImage = `url(${imageUrl})`; this._showIcon = false; if (domain === "update") { - hostStyle.borderRadius = "0"; + this.style.borderRadius = "0"; } } else if (this.color) { // Externally provided overriding color wins over state color