mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #237 - Thermostat Summary missing Outdoor Temp
This commit is contained in:
parent
ce3f922088
commit
32dd941b22
@ -235,7 +235,7 @@ beestat.component.card.runtime_thermostat_summary.prototype.get_data_ = function
|
||||
data.series.extreme_outdoor_temperature.push(null);
|
||||
}
|
||||
} else {
|
||||
var value = bucket !== undefined ? bucket[key] : null;
|
||||
var value = (bucket !== undefined) ? bucket[key] : null;
|
||||
|
||||
/*
|
||||
* If Gap-fill is on, and it's a Gap-fillable value, and it's not the
|
||||
@ -256,7 +256,8 @@ beestat.component.card.runtime_thermostat_summary.prototype.get_data_ = function
|
||||
|
||||
data.series[key].push(value);
|
||||
|
||||
data.metadata.series[key].active = data.metadata.series[key].active || (value > 0);
|
||||
var this_active = key.includes('temperature') ? true : (value > 0);
|
||||
data.metadata.series[key].active = data.metadata.series[key].active || this_active;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user