diff --git a/custom_components/rct_power/lib/entities.py b/custom_components/rct_power/lib/entities.py index 57fa7d7..659bcce 100644 --- a/custom_components/rct_power/lib/entities.py +++ b/custom_components/rct_power/lib/entities.py @@ -165,6 +165,7 @@ def get_matching_names(expression: str): name="Battery Minimum State of Charge", update_priority=EntityUpdatePriority.FREQUENT, state_class=SensorStateClass.MEASUREMENT, + native_unit_of_measurement="%", ), RctPowerSensorEntityDescription( get_device_info=get_battery_device_info, @@ -172,6 +173,7 @@ def get_matching_names(expression: str): name="Battery Maximum State of Charge", update_priority=EntityUpdatePriority.FREQUENT, state_class=SensorStateClass.MEASUREMENT, + native_unit_of_measurement="%", ), RctPowerSensorEntityDescription( get_device_info=get_battery_device_info,