mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 10:14:13 +01:00
remove unused variable last_save_ in total_daily_energy (#4039)
This commit is contained in:
parent
3f88b63920
commit
65030e1c37
1 changed files with 0 additions and 1 deletions
|
@ -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};
|
||||||
|
|
Loading…
Reference in a new issue