mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	remove unused variable last_save_ in total_daily_energy (#4039)
This commit is contained in:
		| @@ -37,7 +37,6 @@ class TotalDailyEnergy : public sensor::Sensor, public Component { | |||||||
|   TotalDailyEnergyMethod method_; |   TotalDailyEnergyMethod method_; | ||||||
|   uint16_t last_day_of_year_{}; |   uint16_t last_day_of_year_{}; | ||||||
|   uint32_t last_update_{0}; |   uint32_t last_update_{0}; | ||||||
|   uint32_t last_save_{0}; |  | ||||||
|   bool restore_; |   bool restore_; | ||||||
|   float total_energy_{0.0f}; |   float total_energy_{0.0f}; | ||||||
|   float last_power_state_{0.0f}; |   float last_power_state_{0.0f}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user