diff --git a/custom_components/leafspy/sensor.py b/custom_components/leafspy/sensor.py index 18714f0..288669d 100755 --- a/custom_components/leafspy/sensor.py +++ b/custom_components/leafspy/sensor.py @@ -194,7 +194,7 @@ def _transform_hx(x): native_unit_of_measurement=UnitOfLength.KILOMETERS, device_class=SensorDeviceClass.DISTANCE, state_class=SensorStateClass.TOTAL_INCREASING, - transform_fn=lambda x: _safe_round(x, 1), + transform_fn=lambda x: _safe_round(x, 0), icon="mdi:counter", ), LeafSpySensorDescription(