diff --git a/README.md b/README.md index a45abf7..7fd214d 100644 --- a/README.md +++ b/README.md @@ -49,5 +49,5 @@ _This integration only works with cars sold in Europe and use the WeConnect ID a ## Requirements -Home Assistant Core *2022.7.0* or higher +Home Assistant Core *2023.3.1* or higher diff --git a/custom_components/volkswagen_we_connect_id/sensor.py b/custom_components/volkswagen_we_connect_id/sensor.py index e37df6a..7e91b40 100644 --- a/custom_components/volkswagen_we_connect_id/sensor.py +++ b/custom_components/volkswagen_we_connect_id/sensor.py @@ -98,7 +98,6 @@ class VolkswagenIdEntityDescription(SensorEntityDescription): name="Charge Power", native_unit_of_measurement=UnitOfPower.KILO_WATT, device_class=SensorDeviceClass.POWER, - state_class=measurement, value=lambda data: data["charging"]["chargingStatus"].chargePower_kW.value, ), VolkswagenIdEntityDescription(