Is it possible to limit the sensors update coming to HA?

Hi,

So I have built the couple of sensors that are working every 3 minutes, then they go to sleep.
They communicate with the gateways - not directly with HA - over ESPnow.
And I have few gateways as well located in different parts of the house.
Every sensor sends data to all gateways to make sure data is not lost due to low signal or so.
But then I end up with the situation, that i.e. 3 gateways receive the data from the same sensor within 20ms and then all 3 gateways publish to HA. So finally, HA receives 3 times the same temperature (or motion detected).
Is there any way to tell HA: “don’t consider the next update if it came within 1 second from the previous one?”.
If not, then I need to rework the gateways to make this happening on their level.
So if you know if that is possible on HA I would be glad to hear how to.

Thx

That depends if the sensor is push or pull.

And it sounds like it is push, meaning you need to update it on the sensor side…

thank you @aceindy unfortunately I thought so
I reduced ingress into InfluxDB by using “precision” flag but I am afraid this is ONLY the ingress to InfluxDB while HA still receives multiple inputs within ms, right?
The thing is: if I receive 3 times “motion detected” I might react differently vs. if I receive 1 time only.
So workaround on InfluxDB probably has no impact on HA itself.