Fix monetary state class in tibber (#87274)
state_class=SensorStateClass.TOTAL for monetary datapull/87298/head
parent
e00622f137
commit
5422ef239b
|
@ -191,13 +191,13 @@ RT_SENSORS: tuple[SensorEntityDescription, ...] = (
|
|||
key="accumulatedReward",
|
||||
name="accumulated reward",
|
||||
device_class=SensorDeviceClass.MONETARY,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
state_class=SensorStateClass.TOTAL,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="accumulatedCost",
|
||||
name="accumulated cost",
|
||||
device_class=SensorDeviceClass.MONETARY,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
state_class=SensorStateClass.TOTAL,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="powerFactor",
|
||||
|
@ -213,7 +213,7 @@ SENSORS: tuple[SensorEntityDescription, ...] = (
|
|||
key="month_cost",
|
||||
name="Monthly cost",
|
||||
device_class=SensorDeviceClass.MONETARY,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
state_class=SensorStateClass.TOTAL,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="peak_hour",
|
||||
|
|
Loading…
Reference in New Issue