Support one decimal for pressure value (#13257)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2022-08-14 09:24:58 +02:00 committed by GitHub
parent d0f12a7fd5
commit 6853fe84b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ public class NetatmoConstants {
INSIDE_TEMPERATURE(0, 50, 0.3, SIUnits.CELSIUS, "temp", "measure", true),
OUTSIDE_TEMPERATURE(-40, 65, 0.3, SIUnits.CELSIUS, "temp", "measure", true),
HEAT_INDEX(-40, 65, 1, SIUnits.CELSIUS, "", "", false),
PRESSURE(260, 1260, 1, HECTO(SIUnits.PASCAL), "pressure", "measure", true),
PRESSURE(260, 1260, 0.1, HECTO(SIUnits.PASCAL), "pressure", "measure", true),
CO2(0, 5000, 50, Units.PARTS_PER_MILLION, "co2", "measure", true),
NOISE(35, 120, 1, Units.DECIBEL, "noise", "measure", true),
RAIN_QUANTITY(0, 150, 0.1, MILLI(SIUnits.METRE), "sum_rain", "sum_rain", false),