1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Fixed #358 - Not all history is shown on Thermostat Summary

Attempt 2
This commit is contained in:
Jon Ziebell 2022-07-20 21:16:28 -04:00
parent abab24cd24
commit e5147c316a

View File

@ -181,10 +181,7 @@ beestat.component.card.runtime_thermostat_summary.prototype.get_data_ = function
var begin_m;
if (beestat.setting('runtime_thermostat_summary_time_period') === 'all') {
begin_m = moment.min(
moment(beestat.cache.thermostat[this.thermostat_id_].data_begin),
moment(beestat.cache.thermostat[this.thermostat_id_].first_connected)
);
begin_m = moment(beestat.cache.thermostat[this.thermostat_id_].sync_begin);
} else {
var time_periods = [
'day',