From b6a0ac6f0ad9abcda45d7395e2ae8997398037e5 Mon Sep 17 00:00:00 2001 From: Jan Iven Date: Tue, 28 Mar 2023 13:04:08 +0200 Subject: [PATCH] Fix envoy last_seven_days_energy* state class (#84528) Co-authored-by: Franck Nijhof --- homeassistant/components/enphase_envoy/const.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/enphase_envoy/const.py b/homeassistant/components/enphase_envoy/const.py index cd3235f1be5..4a105e5a067 100644 --- a/homeassistant/components/enphase_envoy/const.py +++ b/homeassistant/components/enphase_envoy/const.py @@ -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(