From 7c2573f813504329ed7e86315a207679eee68dbd Mon Sep 17 00:00:00 2001 From: OliE Date: Wed, 6 Jun 2018 11:19:33 +0200 Subject: [PATCH] weights are always send in kg by the Yunmai SE/mini scale --- .../health/openscale/core/bluetooth/BluetoothYunmaiSE_Mini.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothYunmaiSE_Mini.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothYunmaiSE_Mini.java index 16108f77..adff58c5 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothYunmaiSE_Mini.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothYunmaiSE_Mini.java @@ -127,7 +127,7 @@ public class BluetoothYunmaiSE_Mini extends BluetoothCommunication { scaleBtData.setDateTime(new Date(timestamp)); float weight = Converters.fromUnsignedInt16Be(weightBytes, 13) / 100.0f; - scaleBtData.setWeight(Converters.toKilogram(weight, selectedUser.getScaleUnit())); + scaleBtData.setWeight(weight); if (isMini) { float fat = Converters.fromUnsignedInt16Be(weightBytes, 17) / 100.0f;