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
This commit is contained in:
parent
695f4366bf
commit
19a500204b
@ -181,8 +181,9 @@ 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(
|
||||
beestat.cache.thermostat[this.thermostat_id_].data_begin
|
||||
begin_m = moment.min(
|
||||
moment(beestat.cache.thermostat[this.thermostat_id_].data_begin),
|
||||
moment(beestat.cache.thermostat[this.thermostat_id_].first_connected)
|
||||
);
|
||||
} else {
|
||||
var time_periods = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user