mirror of
https://github.com/beestat/app.git
synced 2025-06-04 14:17:37 -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;
|
var begin_m;
|
||||||
if (beestat.setting('runtime_thermostat_summary_time_period') === 'all') {
|
if (beestat.setting('runtime_thermostat_summary_time_period') === 'all') {
|
||||||
begin_m = moment(
|
begin_m = moment.min(
|
||||||
beestat.cache.thermostat[this.thermostat_id_].data_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 = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user