From b12e4989db9dbaf7ff8601933916aec69507aa2b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 24 Oct 2023 12:34:47 -0500 Subject: [PATCH] Subscribe to the issue registry as early as possible (#18384) --- src/entrypoints/core.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/entrypoints/core.ts b/src/entrypoints/core.ts index 8cd2671645..5353a14243 100644 --- a/src/entrypoints/core.ts +++ b/src/entrypoints/core.ts @@ -21,6 +21,7 @@ import { } from "../data/lovelace"; import { subscribePanels } from "../data/ws-panels"; import { subscribeThemes } from "../data/ws-themes"; +import { subscribeRepairsIssueRegistry } from "../data/repairs"; import { subscribeUser } from "../data/ws-user"; import type { ExternalAuth } from "../external_app/external_auth"; import "../resources/array.flat.polyfill"; @@ -121,6 +122,7 @@ window.hassConnection.then(({ conn }) => { subscribeThemes(conn, noop); subscribeUser(conn, noop); subscribeFrontendUserData(conn, "core", noop); + subscribeRepairsIssueRegistry(conn, noop); if (location.pathname === "/" || location.pathname.startsWith("/lovelace/")) { const llWindow = window as WindowWithLovelaceProm;