From 69139b35e130715a1af6a54d9160b114b89bf3db Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 21 Jan 2024 23:07:40 +0100 Subject: [PATCH] Clean up updater remains (#19501) --- src/common/const.ts | 2 -- src/components/entity/ha-state-label-badge.ts | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/common/const.ts b/src/common/const.ts index 2e7d2f7c77..b770cf1d44 100644 --- a/src/common/const.ts +++ b/src/common/const.ts @@ -18,7 +18,6 @@ import { mdiChatSleep, mdiClipboardList, mdiClock, - mdiCloudUpload, mdiCog, mdiCommentAlert, mdiCounter, @@ -127,7 +126,6 @@ export const FIXED_DOMAIN_ICONS = { time: mdiClock, timer: mdiTimerOutline, tts: mdiSpeakerMessage, - updater: mdiCloudUpload, vacuum: mdiRobotVacuum, wake_word: mdiChatSleep, weather: mdiWeatherPartlyCloudy, diff --git a/src/components/entity/ha-state-label-badge.ts b/src/components/entity/ha-state-label-badge.ts index 4fe1a4d60c..48854167a5 100644 --- a/src/components/entity/ha-state-label-badge.ts +++ b/src/components/entity/ha-state-label-badge.ts @@ -174,7 +174,6 @@ export class HaStateLabelBadge extends LitElement { case "scene": case "sun": case "timer": - case "updater": return null; // @ts-expect-error we don't break and go to default case "sensor": @@ -208,7 +207,6 @@ export class HaStateLabelBadge extends LitElement { case "alarm_control_panel": case "binary_sensor": case "device_tracker": - case "updater": case "person": case "scene": case "sun": @@ -285,8 +283,7 @@ export class HaStateLabelBadge extends LitElement { --ha-label-badge-label-text-transform: none; } - ha-label-badge.binary_sensor, - ha-label-badge.updater { + ha-label-badge.binary_sensor { --ha-label-badge-color: var(--label-badge-blue); }