From 5731c1fa2866d3adc1ba66f49adb776b7979a206 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 15 Feb 2018 21:38:44 -0800 Subject: [PATCH] Load the chart resources in dev too (#896) When switching to always loading the resources on demand, I forgot to change the default value to be always false instead of dev. This caused the charts not to load in dev. --- src/components/entity/ha-chart-base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/entity/ha-chart-base.html b/src/components/entity/ha-chart-base.html index 5864ef974d..2061e5d796 100644 --- a/src/components/entity/ha-chart-base.html +++ b/src/components/entity/ha-chart-base.html @@ -100,7 +100,7 @@ // eslint-disable-next-line no-unused-vars /* global Chart moment Color */ { - let SCRIPT_LOADED = window.HASS_DEV; + let SCRIPT_LOADED = false; class HaChartBase extends Polymer.Element { get chart() {