1
0
mirror of https://github.com/beestat/app.git synced 2025-05-23 18:04:14 -04:00
This commit is contained in:
Jon Ziebell 2024-05-22 21:27:07 -04:00
parent ecbb5b92e2
commit 8771388336

View File

@ -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];