mirror of
https://github.com/beestat/app.git
synced 2025-07-07 18:24:28 -04:00
Added last sync timestamp for supporters
This commit is contained in:
parent
ee0e1d55c2
commit
c81ae3d8d8
@ -4,6 +4,9 @@ beestat.ecobee = {};
|
||||
* Check to see if ecobee is down. If so, render the footer component.
|
||||
*/
|
||||
beestat.ecobee.notify_if_down = function() {
|
||||
// Turning this off to review and/or deprecate.
|
||||
return;
|
||||
|
||||
if (
|
||||
beestat.cache !== undefined &&
|
||||
beestat.cache.thermostat !== undefined &&
|
||||
|
@ -548,5 +548,10 @@ beestat.component.card.system.prototype.get_subtitle_ = function() {
|
||||
subtitle += ' / ' + cool;
|
||||
}
|
||||
|
||||
if (beestat.user.has_early_access() === true) {
|
||||
subtitle += ' @ ' + moment.utc(ecobee_thermostat.runtime.lastStatusModified).local()
|
||||
.format('h:mm a');
|
||||
}
|
||||
|
||||
return subtitle;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user