1
0
mirror of https://github.com/beestat/app.git synced 2025-07-08 02:34:28 -04:00

Added last sync timestamp for supporters

This commit is contained in:
Jon Ziebell 2023-12-13 23:06:52 -05:00
parent ee0e1d55c2
commit c81ae3d8d8
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,9 @@ beestat.ecobee = {};
* Check to see if ecobee is down. If so, render the footer component. * Check to see if ecobee is down. If so, render the footer component.
*/ */
beestat.ecobee.notify_if_down = function() { beestat.ecobee.notify_if_down = function() {
// Turning this off to review and/or deprecate.
return;
if ( if (
beestat.cache !== undefined && beestat.cache !== undefined &&
beestat.cache.thermostat !== undefined && beestat.cache.thermostat !== undefined &&

View File

@ -548,5 +548,10 @@ beestat.component.card.system.prototype.get_subtitle_ = function() {
subtitle += ' / ' + cool; subtitle += ' / ' + cool;
} }
if (beestat.user.has_early_access() === true) {
subtitle += ' @ ' + moment.utc(ecobee_thermostat.runtime.lastStatusModified).local()
.format('h:mm a');
}
return subtitle; return subtitle;
}; };