mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Logging
This commit is contained in:
parent
ecbb5b92e2
commit
8771388336
@ -127,6 +127,10 @@ beestat.component.card.temperature_profiles.prototype.get_data_ = function() {
|
|||||||
|
|
||||||
var y_min = Infinity;
|
var y_min = Infinity;
|
||||||
var y_max = -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) {
|
for (var type in thermostat.profile.temperature) {
|
||||||
// Cloned because I mutate this data for temperature conversions.
|
// Cloned because I mutate this data for temperature conversions.
|
||||||
var profile = beestat.clone(
|
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) {
|
for (let type in thermostat.profile.temperature) {
|
||||||
const profile = thermostat.profile.temperature[type];
|
const profile = thermostat.profile.temperature[type];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user