I have a zigbee temperature sensor which updates quite often. Even if the value change is only 0,01 degree. If I persist every change it would came up with quite lot of data.
My idea: only persist if the value chage is at least 0,1 degree. How can I do it?
I’m using mysql and if its matters zigbee2mqtt for the sensor