Remove automatic splitting of net meters from statistics (#56772)
This commit is contained in:
parent
d13c3e3917
commit
40ecf22bac
8 changed files with 2 additions and 164 deletions
|
@ -249,7 +249,6 @@ class StatisticData(StatisticDataBase, total=False):
|
|||
last_reset: datetime | None
|
||||
state: float
|
||||
sum: float
|
||||
sum_increase: float
|
||||
|
||||
|
||||
class StatisticsBase:
|
||||
|
@ -274,7 +273,6 @@ class StatisticsBase:
|
|||
last_reset = Column(DATETIME_TYPE)
|
||||
state = Column(DOUBLE_TYPE)
|
||||
sum = Column(DOUBLE_TYPE)
|
||||
sum_increase = Column(DOUBLE_TYPE)
|
||||
|
||||
@classmethod
|
||||
def from_stats(cls, metadata_id: str, stats: StatisticData):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue