From d4fb8368531b02d274b3131146c1064594dac093 Mon Sep 17 00:00:00 2001 From: Steve Repsher Date: Fri, 22 Sep 2023 00:11:38 +0000 Subject: [PATCH] Fix use of hostStyle merged into state badge --- src/components/entity/state-badge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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