mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Revert "Fix Tibber sensors state class" (#118409)
Revert "Fix Tibber sensors state class (#117085)" This reverts commit 658c1f3d97a8a8eb0d91150e09b36c995a4863c5.
This commit is contained in:
parent
cf3e758aa1
commit
bff2d3e2ee
@ -118,7 +118,7 @@ RT_SENSORS: tuple[SensorEntityDescription, ...] = (
|
|||||||
translation_key="accumulated_consumption",
|
translation_key="accumulated_consumption",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
state_class=SensorStateClass.TOTAL,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key="accumulatedConsumptionLastHour",
|
key="accumulatedConsumptionLastHour",
|
||||||
@ -138,7 +138,7 @@ RT_SENSORS: tuple[SensorEntityDescription, ...] = (
|
|||||||
translation_key="accumulated_production",
|
translation_key="accumulated_production",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
state_class=SensorStateClass.TOTAL,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key="accumulatedProductionLastHour",
|
key="accumulatedProductionLastHour",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user