Handling bad data on zwave sensors

I have four Honeywell T6 thermostats, which generally work well, but periodically the humidity sensor, and only the humidity sensor, goes to negative 124%. All four do it, and at random times (i.e. not related to any network outage or such). The temperature continues to report properly even when the humidity goes wonky.

Since Honeywell is not a company prone to helping home owners, only their HVAC contractors, I can not ask them. I suspect this is a “feature” in the current firmware (of which I think I am current but for similar reasons I do not think I can obtain).

Is there a way to automatically limit a sensor’s values so it doesn’t store garbage like this? alternative to remove it automatically? I guess I could, outside HA, write a sql script but I would really prefer to keep this internal.

I’d love an answer how to fix the thermostats, but what I am actually asking is how Home Assistant can reject bad data?

Linwood