Here is a statistics graph for some sensor:
The problem is that a glitch occurred at some moment of time - a “99999” value for a humidity was reported by integration.
Is it possible to remove only THIS particular occurrence from DB?
Here is a statistics graph for some sensor:
The problem is that a glitch occurred at some moment of time - a “99999” value for a humidity was reported by integration.
Is it possible to remove only THIS particular occurrence from DB?
Have you tried Dev tools>statistics?
I see no tools in “Dev tools → Statistics” to edit ONE occurrence.
If you find the entity and click the symbol on the far right you can edit the statistics
So, using SQL is the only way?
Unfortunately, do not know SQL at all…
OK, with the ref to statistics in your OP I assumed the entity had statistics
The entity HAS statistics.
The list in Dev tools → Statistics only contains entities with statistics.
But HA does not think that this entity has issues - that is why there is no tools to fix statistics for this entity.
According to my observations, this button only occurs if some conditions are met.
In my setup I only see this button if “state_class: total_increasing” is set…
Managed to fix my DB for wrong values for temperature & humidity (see 1st post).
After a fix - spikes removed:
P.S. I do not know SQL, so my solution is not the best…