remove unused variable last_save_ in total_daily_energy (#4039)

This commit is contained in:
Brian Kaufman 2022-11-16 17:45:58 -07:00 committed by GitHub
parent 3f88b63920
commit 65030e1c37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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};