diff --git a/src/components/entity/state-badge.ts b/src/components/entity/state-badge.ts index 17a9bcbbba3c..a9c1afd35c3f 100644 --- a/src/components/entity/state-badge.ts +++ b/src/components/entity/state-badge.ts @@ -131,11 +131,15 @@ export class StateBadge extends LitElement { if (this.hass) { imageUrl = this.hass.hassUrl(imageUrl); } - if (computeDomain(stateObj.entity_id) === "camera") { + const domain = computeDomain(stateObj.entity_id); + if (domain === "camera") { imageUrl = cameraUrlWithWidthHeight(imageUrl, 80, 80); } hostStyle.backgroundImage = `url(${imageUrl})`; this._showIcon = false; + if (domain === "update") { + hostStyle.borderRadius = "0"; + } } else if (this.color) { // Externally provided overriding color wins over state color iconStyle.color = this.color; diff --git a/src/panels/config/dashboard/ha-config-updates.ts b/src/panels/config/dashboard/ha-config-updates.ts index b3285e808c10..ece376c8e810 100644 --- a/src/panels/config/dashboard/ha-config-updates.ts +++ b/src/panels/config/dashboard/ha-config-updates.ts @@ -86,7 +86,7 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) { return html`