mirror of
				https://github.com/beestat/app.git
				synced 2025-11-04 02:47:01 -05:00 
			
		
		
		
	Fixed #227 - Accessory runtime sometimes showing runtime for entire chart instead of just block
accessory_type was "off" because that code was running after the accessory was off.
This commit is contained in:
		
							parent
							
								
									5cb676970c
								
							
						
					
					
						commit
						334e9be9a3
					
				@ -625,7 +625,10 @@ beestat.component.card.runtime_thermostat_detail.prototype.get_data_ = function(
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      // Reset accessories
 | 
					      // Reset accessories
 | 
				
			||||||
      if (runtime_thermostat.accessory === 0) {
 | 
					      if (runtime_thermostat.accessory === 0) {
 | 
				
			||||||
        durations[runtime_thermostat.accessory_type] = {'seconds': 0};
 | 
					        durations.humidifier = {'seconds': 0};
 | 
				
			||||||
 | 
					        durations.dehumidifier = {'seconds': 0};
 | 
				
			||||||
 | 
					        durations.ventilator = {'seconds': 0};
 | 
				
			||||||
 | 
					        durations.economizer = {'seconds': 0};
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Equipment
 | 
					      // Equipment
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user