SUPLA / supla-cloud

https://www.supla.org
GNU General Public License v2.0
71 stars 46 forks source link

Change precision for water meters #707

Open przemyslawzygmunt opened 1 year ago

przemyslawzygmunt commented 1 year ago

https://forum.supla.org/viewtopic.php?t=8239&start=30

klew commented 1 year ago

Precision should depend on selected units. I.e. for m3 showing 0.001 is ok, but if somebody use liter instead, then 0.1 is probably more then enough. From my point of view, this is more generic problem, which we have with all measurement channels. With "KPOP" we will introduce parameter to configure display precision for a measurement, so maybe this "precision setting" functionality could be done with KPOP for other measurement channels as well?