esphome / esphome/feature-requests

Make a Total energy sensor that is restored after reboot

Open
#1,693 6 comments 11 reactions 0 assignees View on GitHub
component: sensor
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**
There's a "Total Daily Energy" sensor that persists through reboots but it would be even more usable if there was a "Total energy" sensor that was persistant as well.

**Please describe your use case for this integration and alternatives you've tried:**
There's a Power Consumption application (https://github.com/klaasnicolaas/home-assistant-glow ) that works great but if you reboot the ESP32 the total energy number is lost but the daily is preserved. Would make sense to be able to preserve the total as well. (probably more useful than saving the daily consumption)

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified. Review the existing Total Daily Energy sensor and the reboot behavior described for the ESP32 application; the work is complete when a separate total-energy value is preserved across reboots without losing the existing daily sensor behavior.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.