From ee654d32c47ef0ab3bfe6ca61f92064eab86244a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Fri, 2 Sep 2022 19:34:22 +0000 Subject: [PATCH] Fix auto interact in fully kiosk --- documentation/configuration-panel.md | 2 +- js/plugin/require-interact.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/configuration-panel.md b/documentation/configuration-panel.md index bf4e303..a2c57a5 100644 --- a/documentation/configuration-panel.md +++ b/documentation/configuration-panel.md @@ -91,7 +91,7 @@ This will hide the header bar. Completely. It does not care if there are useful Set the default dashboard that is shown when you access `https:///` with nothing after the `/`. -> *Note:* This sort of works with other pages than lovelace dashboards, like e.g. `logbook` BUT there's currently a bug in Home Assistant which causes extra js modules (like browser_mod) to not load if you navigate to `https:///` and it does NOT redirect to a lovelace dashboard... Perhaps that will be fixed at some point. Perhaps you could live with it... +> *Note:* This also of works with other pages than lovelace dashboards, like e.g. `logbook` or even `history?device_id=f112fd806f2520c76318406f98cd244e&start_date=2022-09-02T16%3A00%3A00.000Z&end_date=2022-09-02T19%3A00%3A00.000Z`. ### Sidebar order diff --git a/js/plugin/require-interact.ts b/js/plugin/require-interact.ts index ce299ea..e6f888b 100644 --- a/js/plugin/require-interact.ts +++ b/js/plugin/require-interact.ts @@ -64,6 +64,7 @@ export const RequireInteractMixin = (SuperClass) => { this._interactionResolve(); } }); + video.pause(); } window.addEventListener(