The common daily sensors reset at midnight. Ideally these would be used in the HA energy panel, but having them as total instead of total_increasing means at midnight we get a big negative usage spike.
Should be pretty easy to fix, just switch those code lines over.
I will generate a PR to do this.
The common daily sensors reset at midnight. Ideally these would be used in the HA energy panel, but having them as total instead of total_increasing means at midnight we get a big negative usage spike.
Should be pretty easy to fix, just switch those code lines over.
I will generate a PR to do this.