From 9d55f12105c9f00ac6c105e86d080ea08fa67534 Mon Sep 17 00:00:00 2001 From: lolouk44 Date: Wed, 5 Jun 2019 07:16:34 +0100 Subject: [PATCH] Fixed V1 publish call --- Xiaomi_Scale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xiaomi_Scale.py b/Xiaomi_Scale.py index 5433f78..21d89b3 100644 --- a/Xiaomi_Scale.py +++ b/Xiaomi_Scale.py @@ -70,7 +70,7 @@ class ScanProcessor(): if unit: print('') - self._publish(round(measured, 2, "", ""), unit) + self._publish(round(measured, 2), unit, "", "") else: print("Scale is sleeping.")