Skip to content

Commit

Permalink
adapt precision
Browse files Browse the repository at this point in the history
  • Loading branch information
zweckj authored Nov 20, 2024
1 parent 073e90b commit 0550c7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/acaia/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class AcaiaSensorEntityDescription(AcaiaEntityDescription, SensorEntityDescripti
native_unit_of_measurement="mL/s",
state_class=SensorStateClass.MEASUREMENT,
value_fn=lambda scale: scale.flow_rate,
suggested_display_precision=1,
),
)
RESTORE_SENSORS: tuple[AcaiaSensorEntityDescription, ...] = (
Expand Down

0 comments on commit 0550c7f

Please sign in to comment.