diff --git a/README.md b/README.md index 90e445a..8f338d8 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ Now check out the features section for details on what you'll get! - Multiple cars - Multiple accounts - Translations (but [need help](#need-help) on this 🙏) -- [More to come...](#road-ahead) ### Entities @@ -129,17 +128,7 @@ Fill in the OTP to complete the process. - Test if you have multiple Volvos on the **same account**. - Test if you have multiple Volvos across **different accounts**. - Test with other Volvo models (non-BEV). - - - -## 🛣️ The _road_ ahead - -Some features popping up in the _rearview mirror_, in no particular order, are: - -- Unit conversions (Volvo API reports in km and liters only) -- Smart data refresh interval -- Timestamp last refresh sensor -- Attribute which holds timestamp of when the value has been last retrieved from the vehicle +- Users that use imperial system. ## 🥤 Powered by snacks diff --git a/custom_components/volvo_cars/manifest.json b/custom_components/volvo_cars/manifest.json index 99036d6..165acf2 100644 --- a/custom_components/volvo_cars/manifest.json +++ b/custom_components/volvo_cars/manifest.json @@ -11,5 +11,5 @@ "requirements": [ "pydantic>=1.10.18,<2.0" ], - "version": "0.2.1" + "version": "0.2.2" } \ No newline at end of file diff --git a/custom_components/volvo_cars/volvo/models.py b/custom_components/volvo_cars/volvo/models.py index 30fd4bb..28117bf 100644 --- a/custom_components/volvo_cars/volvo/models.py +++ b/custom_components/volvo_cars/volvo/models.py @@ -34,7 +34,7 @@ class VolvoCarsVehicle(BaseModel): gearbox: str fuel_type: str = Field(..., alias="fuelType") external_colour: str = Field(..., alias="externalColour") - battery_capacity_kwh: float = Field(..., alias="batteryCapacityKWH") + battery_capacity_kwh: float | None = Field(None, alias="batteryCapacityKWH") images: VolvoCarsImages description: VolvoCarsModel = Field(..., alias="descriptions")