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;
|
var begin_m;
|
||||||
if (beestat.setting('runtime_thermostat_summary_time_period') === 'all') {
|
if (beestat.setting('runtime_thermostat_summary_time_period') === 'all') {
|
||||||
begin_m = moment.min(
|
begin_m = moment(beestat.cache.thermostat[this.thermostat_id_].sync_begin);
|
||||||
moment(beestat.cache.thermostat[this.thermostat_id_].data_begin),
|
|
||||||
moment(beestat.cache.thermostat[this.thermostat_id_].first_connected)
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
var time_periods = [
|
var time_periods = [
|
||||||
'day',
|
'day',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user