diff --git a/custom_components/proxmoxve/sensor.py b/custom_components/proxmoxve/sensor.py index 597c14e..0a4469f 100644 --- a/custom_components/proxmoxve/sensor.py +++ b/custom_components/proxmoxve/sensor.py @@ -464,7 +464,7 @@ class ProxmoxSensorEntityDescription(ProxmoxEntityDescription, SensorEntityDescr name="Wearout", icon="mdi:clipboard-pulse-outline", native_unit_of_measurement=PERCENTAGE, - conversion_fn=lambda x: (100 - x) / 100 if x != UNDEFINED else None, + conversion_fn=lambda x: (100 - x) if x != UNDEFINED else None, state_class=SensorStateClass.MEASUREMENT, suggested_display_precision=0, translation_key="disk_wearout",