From 330764f18afdb00402a2fbe1df4548214f652993 Mon Sep 17 00:00:00 2001 From: Aaron Godfrey Date: Sat, 29 Feb 2020 12:28:38 -0800 Subject: [PATCH 1/2] Fixed shallow copy which breaks HA 0.106.x --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index 952c73c..7ba4a3d 100755 --- a/app.js +++ b/app.js @@ -376,6 +376,7 @@ class AtomicCalendar extends LitElement { } setConfig(config) { + config = JSON.parse(JSON.stringify(config)); if (!config.entities) { throw new Error('You need to define entities'); } From 0f23c7a9022770c9206c16ad5fd8cfce703ff148 Mon Sep 17 00:00:00 2001 From: Aaron Godfrey Date: Sat, 29 Feb 2020 12:30:27 -0800 Subject: [PATCH 2/2] spaces to tabs to match file. --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 7ba4a3d..e394a99 100755 --- a/app.js +++ b/app.js @@ -376,7 +376,7 @@ class AtomicCalendar extends LitElement { } setConfig(config) { - config = JSON.parse(JSON.stringify(config)); + config = JSON.parse(JSON.stringify(config)); if (!config.entities) { throw new Error('You need to define entities'); }