diff --git a/js/component/card/temperature_profiles.js b/js/component/card/temperature_profiles.js index fa4bbbf..a067f0d 100644 --- a/js/component/card/temperature_profiles.js +++ b/js/component/card/temperature_profiles.js @@ -127,6 +127,10 @@ beestat.component.card.temperature_profiles.prototype.get_data_ = function() { var y_min = Infinity; var y_max = -Infinity; + console.log('a'); + console.log(thermostat); + console.log(thermostat.profile); + thermostat.profile = null; for (var type in thermostat.profile.temperature) { // Cloned because I mutate this data for temperature conversions. var profile = beestat.clone( @@ -327,6 +331,11 @@ beestat.component.card.temperature_profiles.prototype.get_profile_extremes_ = fu } }; + + console.log('b'); + console.log(thermostat); + console.log(thermostat.profile); + for (let type in thermostat.profile.temperature) { const profile = thermostat.profile.temperature[type];