Skip to content

Commit

Permalink
Increase accuracy_decimals to 3 of the capacity_remaining sensor
Browse files Browse the repository at this point in the history
See #389
  • Loading branch information
syssi committed Nov 6, 2023
1 parent 5692017 commit c36cd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/jk_bms_ble/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@
cv.Optional(CONF_CAPACITY_REMAINING): sensor.sensor_schema(
unit_of_measurement=UNIT_AMPERE_HOURS,
icon=ICON_CAPACITY_REMAINING,
accuracy_decimals=0,
accuracy_decimals=3,
device_class=DEVICE_CLASS_EMPTY,
state_class=STATE_CLASS_MEASUREMENT,
),
Expand Down

0 comments on commit c36cd1a

Please sign in to comment.