High value gas readings in Energy

Hi,

Over the last 6 months I had twice a very high gas reading during day in month. I suspect my ESPHome based P1 reader has reported a state event with wrong value to HA messing up the readings. I would like to correct this by removing the event that caused it.

Can anyone explain if you can delete the event (in HA UI or DB) so my average gas consumption shows correct values again?.

Yes you can adjust values in Developer Tools > Statistics.

To prevent this happening again you should fix the sensor so that it reports unavailable instead of 0 when the sensor becomes unavailable.

Hi Tom,

Yes! fixed it…did not find the option initially, but eventually I found it. Thank you for pointing this out…sooo cool!

Thank you so much