Skip to content
This repository was archived by the owner on Dec 7, 2024. It is now read-only.

Commit 0550c7f

Browse files
authored
adapt precision
1 parent 073e90b commit 0550c7f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

custom_components/acaia/sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class AcaiaSensorEntityDescription(AcaiaEntityDescription, SensorEntityDescripti
5252
native_unit_of_measurement="mL/s",
5353
state_class=SensorStateClass.MEASUREMENT,
5454
value_fn=lambda scale: scale.flow_rate,
55+
suggested_display_precision=1,
5556
),
5657
)
5758
RESTORE_SENSORS: tuple[AcaiaSensorEntityDescription, ...] = (

0 commit comments

Comments
 (0)