From 962ec9c2e096bb07d2163644d48db1f8d2608332 Mon Sep 17 00:00:00 2001 From: Tuen Lee Date: Tue, 12 Sep 2023 16:59:21 +0200 Subject: [PATCH] fix #66 price with 2 decimals --- custom_components/alfen_wallbox/number.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/alfen_wallbox/number.py b/custom_components/alfen_wallbox/number.py index 5acc29b..38b86ca 100644 --- a/custom_components/alfen_wallbox/number.py +++ b/custom_components/alfen_wallbox/number.py @@ -302,7 +302,7 @@ class AlfenNumberDescription(NumberEntityDescription, AlfenNumberDescriptionMixi device_class=None, native_min_value=0, native_max_value=5, - native_step=0.1, + native_step=0.01, custom_mode=NumberMode.BOX, unit_of_measurement=CURRENCY_EURO, api_param="3262_2", @@ -316,7 +316,7 @@ class AlfenNumberDescription(NumberEntityDescription, AlfenNumberDescriptionMixi device_class=None, native_min_value=0, native_max_value=5, - native_step=0.1, + native_step=0.01, custom_mode=NumberMode.BOX, unit_of_measurement=CURRENCY_EURO, api_param="3262_3", @@ -330,7 +330,7 @@ class AlfenNumberDescription(NumberEntityDescription, AlfenNumberDescriptionMixi device_class=None, native_min_value=0, native_max_value=5, - native_step=0.1, + native_step=0.01, custom_mode=NumberMode.BOX, unit_of_measurement=CURRENCY_EURO, api_param="3262_4",