mirror of
				https://github.com/beestat/app.git
				synced 2025-10-31 10:07:01 -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. |  * 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 && | ||||||
|  | |||||||
| @ -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; | ||||||
| }; | }; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user