Skip to content

Commit

Permalink
fix #66 price with 2 decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuen Lee committed Sep 12, 2023
1 parent 10d5f53 commit 962ec9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/alfen_wallbox/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 962ec9c

Please sign in to comment.