From b4b1ae42bc58d64f31dc51b40073f18ee6423603 Mon Sep 17 00:00:00 2001 From: Cloos <36499953+Clooos@users.noreply.github.com> Date: Mon, 27 Nov 2023 21:06:18 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 000dc75..8d9fba9 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,11 @@ There is also a detailed setup video from **BeardedTinker**, thanks a lot to him ### Pop-up optimization -Adding `bubble-pop-up.js` as an extra module significantly improves the initialization of the pop-up when the page is loading. You can proceed by adding `bubble-pop-up.js` to your `configuration.yaml`, like this: +Adding `bubble-pop-up.js` as an extra module significantly improves the initialization of the pop-up when the page is loading. You can proceed by adding `bubble-pop-up.js` to your `configuration.yaml`, copy this and change the version number: ```yaml frontend: extra_module_url: - - /hacsfiles/Bubble-Card/bubble-pop-up.js?v=1.5.1 + - /hacsfiles/Bubble-Card/bubble-pop-up.js?v=0.0.0 ``` After restarting Home Assistant, you can then add `module_installed: true` into any Bubble Card YAML of your choice (it is sufficient to add it to just one card), this will automatically remove `bubble-pop-up.js` from the frontend resources, and the cache will be refreshed on all browsers at the first use of this version: