I’m stuck in a situation where utility meters show value completly wrong. For example, a month energy utility meter has a value greater than today energy:
marco_month_energy:
name: 'Marco month energy'
source: sensor.marco_today_energy
cycle: monthly
As you can see, the month energy meter was createt around 19 PM, and its values is greater than today energy.
I stopped Home Assistant and deleted all statistics records, plus the states:
DELETE FROM states WHERE entity_id = 'sensor.marco_month_energy';
DELETE FROM statistics;
DELETE FROM statistics_meta;
DELETE FROM statistics_runs;
But every time I start Home Assistant, the same values are recreated. I’m going crazy, any help is much appreciated!