1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

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

View File

@@ -37,7 +37,6 @@ class TotalDailyEnergy : public sensor::Sensor, public Component {
TotalDailyEnergyMethod method_;
uint16_t last_day_of_year_{};
uint32_t last_update_{0};
uint32_t last_save_{0};
bool restore_;
float total_energy_{0.0f};
float last_power_state_{0.0f};