From bff2d3e2eeaf8f093a13f099123cf06356dcd7b2 Mon Sep 17 00:00:00 2001 From: Bas Brussee <68892092+basbruss@users.noreply.github.com> Date: Fri, 31 May 2024 16:50:22 +0200 Subject: [PATCH] Revert "Fix Tibber sensors state class" (#118409) Revert "Fix Tibber sensors state class (#117085)" This reverts commit 658c1f3d97a8a8eb0d91150e09b36c995a4863c5. --- homeassistant/components/tibber/sensor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/tibber/sensor.py b/homeassistant/components/tibber/sensor.py index f0131173403..8d036157494 100644 --- a/homeassistant/components/tibber/sensor.py +++ b/homeassistant/components/tibber/sensor.py @@ -118,7 +118,7 @@ RT_SENSORS: tuple[SensorEntityDescription, ...] = ( translation_key="accumulated_consumption", device_class=SensorDeviceClass.ENERGY, native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, - state_class=SensorStateClass.TOTAL_INCREASING, + state_class=SensorStateClass.TOTAL, ), SensorEntityDescription( key="accumulatedConsumptionLastHour", @@ -138,7 +138,7 @@ RT_SENSORS: tuple[SensorEntityDescription, ...] = ( translation_key="accumulated_production", device_class=SensorDeviceClass.ENERGY, native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, - state_class=SensorStateClass.TOTAL_INCREASING, + state_class=SensorStateClass.TOTAL, ), SensorEntityDescription( key="accumulatedProductionLastHour",