From 5e02e1b1dec374837f4cc54f95771b66b8385da9 Mon Sep 17 00:00:00 2001 From: Will Latourelle Date: Tue, 5 May 2020 15:15:56 -0700 Subject: [PATCH] bug fix --- dist/animated-background.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/animated-background.js b/dist/animated-background.js index aee7fb1..bcd4653 100644 --- a/dist/animated-background.js +++ b/dist/animated-background.js @@ -404,6 +404,8 @@ function renderBackgroundHTML() { if (current_config.entity || (Previous_Url != state_url)) { if (!current_config.entity) { STATUS_MESSAGE("Applying default background", true); + Previous_Entity = null; + Previous_State = null; } bg.innerHTML = html_to_render; Previous_Url = state_url;