From 60ff4fdc1ffbb5950739ca4d69c31b1c49812e31 Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:14:13 +0100 Subject: [PATCH] Ensure helper type is always localized (#18825) * Ensure helper type is always localized * Remove the check --- src/panels/config/helpers/ha-config-helpers.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/panels/config/helpers/ha-config-helpers.ts b/src/panels/config/helpers/ha-config-helpers.ts index 9a72810aa1..ac517776f3 100644 --- a/src/panels/config/helpers/ha-config-helpers.ts +++ b/src/panels/config/helpers/ha-config-helpers.ts @@ -226,10 +226,6 @@ export class HaConfigHelpers extends SubscribeMixin(LitElement) { }; }); - if (!Object.keys(configEntriesCopy).length) { - return states; - } - const entries = Object.values(configEntriesCopy).map((configEntry) => ({ id: configEntry.entry_id, entity_id: "",