Fix envoy last_seven_days_energy* state class (#84528)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Jan Iven 2023-03-28 13:04:08 +02:00 committed by GitHub
parent b207790177
commit b6a0ac6f0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,6 @@ SENSORS = (
key="seven_days_production",
name="Last Seven Days Energy Production",
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
state_class=SensorStateClass.TOTAL,
device_class=SensorDeviceClass.ENERGY,
),
SensorEntityDescription(
@ -61,7 +60,6 @@ SENSORS = (
key="seven_days_consumption",
name="Last Seven Days Energy Consumption",
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
state_class=SensorStateClass.TOTAL,
device_class=SensorDeviceClass.ENERGY,
),
SensorEntityDescription(