Revert "Fix Tibber sensors state class" (#118409)

Revert "Fix Tibber sensors state class (#117085)"

This reverts commit 658c1f3d97.
pull/118550/head^2
Bas Brussee 2024-05-31 16:50:22 +02:00 committed by GitHub
parent cf3e758aa1
commit bff2d3e2ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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",