Ignore bogus measure?

Hi,
Is there a way for HomeAssistant to skip/ignore a measure ? Sometimes the json returned by some power meters contain a wildly wrong datapoint and I don’t know how to stop those from messing up the graphs :
image
(no there’s no 50kW load in my son’s bedroom)
The data comes from a Rest sensor if that can help.
Thanks!