From f14995ea84d1cd0e6da0a26825cd9d18ab774eec Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Thu, 1 Aug 2024 06:05:08 +0000 Subject: [PATCH] Demo fix --- src/layouts/home-assistant.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/layouts/home-assistant.ts b/src/layouts/home-assistant.ts index e9cbe6288811..17d169a9f9cb 100644 --- a/src/layouts/home-assistant.ts +++ b/src/layouts/home-assistant.ts @@ -200,6 +200,11 @@ export class HomeAssistantAppEl extends QuickBarMixin(HassElement) { } protected async checkDataBaseMigration() { + if (!this.hass?.config?.components.includes("recorder")) { + this._databaseMigration = false; + return; + } + let recorderInfoProm: Promise | undefined; const preloadWindow = window as WindowWithPreloads; // On first load, we speed up loading page by having recorderInfoProm ready