Skip to content

Commit

Permalink
Merge pull request #278 from ColinRobbins/patch-5
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-dc authored Dec 9, 2024
2 parents 432485a + 46f49a6 commit 2d3872e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/volkswagen_we_connect_id/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ class VolkswagenIdEntityDescription(SensorEntityDescription):
key="lastTripAverageElectricConsumption",
name="Last Trip Average Electric consumption",
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
device_class=SensorDeviceClass.ENERGY,
value=lambda vehicle: vehicle.trips["shortTerm"].averageElectricConsumption.value,
),
VolkswagenIdEntityDescription(
Expand Down

0 comments on commit 2d3872e

Please sign in to comment.