Remove data points from graph

The ability to right click/remove a bad datapoint from a graph would be splendid.

Necromancy time!

Despite being asked for in several posts elsewhere, this is the only thread in the Feature Requests category I’ve found through searching that seems to pertain to the removal of bad data points from a history timeseries.

Here are a few of the other threads:

There are cross-references in some of these threads to still more. At least two of these are previous years’ MoWTH threads; perhaps a moderator might see fit to make a note that some couple hundred of those votes or so would also apply here.

I have an automation already for detecting such data points from one of my sensors; I can use this automation to immediately trigger a data refresh on one of the entities associated with one of my ZWave devices and thereby get a new data point, but I cannot correct the bad data.

This is that automation:

alias: Thermostat Humidity Refresh on OOB Value
description: ""
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.thermostat_humidity
    below: 0
conditions: []
actions:
  - action: zwave_js.refresh_value
    metadata: {}
    data:
      entity_id:
        - sensor.thermostat_humidity
mode: single

That’s it. Simple. Gets a good value from the refresh every time. Can’t do anything about the bad value. Shucks.

It would be supremely helpful to be able to select a datapoint either by an action or by some UI component (which I understand to be built on actions anyway) and delete it from the recorded history – without shutting down HA and doing SQL surgery.

My sensor generates one or two of these data points every day, and it only makes sense to clean them out as they are produced. Negative values for relative humidity don’t tend to make physical sense, you see, so I can be sure my automation isn’t removing potentially good data for a sufficiently refined trigger condition.

Please bring votes here. Thank you.