Fix dsmr_reader peak hour consumption unit of measurement (#85301)

This commit is contained in:
Tom Puttemans 2023-01-06 12:55:32 +01:00 committed by GitHub
parent 220ec1906c
commit b9339a290a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -560,8 +560,8 @@ SENSORS: tuple[DSMRReaderSensorEntityDescription, ...] = (
DSMRReaderSensorEntityDescription(
key="dsmr/consumption/quarter-hour-peak-electricity/average_delivered",
name="Previous quarter-hour peak usage",
device_class=SensorDeviceClass.ENERGY,
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
device_class=SensorDeviceClass.POWER,
native_unit_of_measurement=UnitOfPower.KILO_WATT,
),
DSMRReaderSensorEntityDescription(
key="dsmr/consumption/quarter-hour-peak-electricity/read_at_start",