From 87713883366143fb3cb375216dbefb62750e1129 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Wed, 22 May 2024 21:27:07 -0400 Subject: [PATCH] Logging --- js/component/card/temperature_profiles.js | 9 +++++++++ 1 file changed, 9 insertions(+) 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];