Skip to content

Commit

Permalink
Added last sync timestamp for supporters
Browse files Browse the repository at this point in the history
  • Loading branch information
ziebelje committed Dec 14, 2023
1 parent ee0e1d5 commit c81ae3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/beestat/ecobee.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down
5 changes: 5 additions & 0 deletions js/component/card/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit c81ae3d

Please sign in to comment.