mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
parent
abab24cd24
commit
e5147c316a
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user