Energy Dashboard - How can I get the spikes out

Has ANYONE actually countered this problem in a swift manner? I’m also having this issue with a range of different components, It can be shelly, zwave or modbus. Its not the component thats faulty, its how they send data to hassio or something else, mabye how its stored in the db…

I could also promote my old thread about letting hassio know when a value is out of the ordinary here: Severity attribute for entities

something needs to change, many of us need to fix the statistics for many sensors every month, and if we dont the energy stats page wont be worth much.

as it is now mabye a bad work around could be to create bandpassfilters for these sensors instead… but I then loose my history due to the new entity and it wouldnt be a good enough fix anyway.