From cbd43c165d83d982f98555d88c76dfda59e456dc Mon Sep 17 00:00:00 2001 From: Tuen Lee Date: Fri, 19 Jan 2024 22:24:26 +0000 Subject: [PATCH] #99 add odometer limit to 1000000000 --- custom_components/polestar_api/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/polestar_api/sensor.py b/custom_components/polestar_api/sensor.py index 0ff9217..55b0579 100644 --- a/custom_components/polestar_api/sensor.py +++ b/custom_components/polestar_api/sensor.py @@ -125,7 +125,7 @@ class PolestarSensorDescription( round_digits=2, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.DISTANCE, - max_value=100000000, + max_value=1000000000, dict_data=None ), PolestarSensorDescription(