From 65030e1c377f8787c1ad0ce6c59943052e0b6f44 Mon Sep 17 00:00:00 2001 From: Brian Kaufman Date: Wed, 16 Nov 2022 17:45:58 -0700 Subject: [PATCH] remove unused variable last_save_ in total_daily_energy (#4039) --- esphome/components/total_daily_energy/total_daily_energy.h | 1 - 1 file changed, 1 deletion(-) diff --git a/esphome/components/total_daily_energy/total_daily_energy.h b/esphome/components/total_daily_energy/total_daily_energy.h index a40c56a7db..1a9d5d1a49 100644 --- a/esphome/components/total_daily_energy/total_daily_energy.h +++ b/esphome/components/total_daily_energy/total_daily_energy.h @@ -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};