Skip to content

Commit

Permalink
Merge pull request #156 from robinostlund/main
Browse files Browse the repository at this point in the history
Revert back from energy to power sensor and solve HA 2023.3.1 issues
  • Loading branch information
mitch-dc committed Mar 3, 2023
2 parents 2f2cb1a + a1363f7 commit b1efa1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

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 @@ -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(
Expand Down

0 comments on commit b1efa1d

Please sign in to comment.