Drop some unused constants from recorder (#79138)
This commit is contained in:
parent
cba3b6ad94
commit
2167cf540d
1 changed files with 0 additions and 12 deletions
|
@ -109,13 +109,6 @@ QUERY_STATISTICS_SUMMARY_SUM = [
|
|||
.label("rownum"),
|
||||
]
|
||||
|
||||
QUERY_STATISTICS_SUMMARY_SUM_LEGACY = [
|
||||
StatisticsShortTerm.metadata_id,
|
||||
StatisticsShortTerm.last_reset,
|
||||
StatisticsShortTerm.state,
|
||||
StatisticsShortTerm.sum,
|
||||
]
|
||||
|
||||
QUERY_STATISTIC_META = [
|
||||
StatisticsMeta.id,
|
||||
StatisticsMeta.statistic_id,
|
||||
|
@ -127,11 +120,6 @@ QUERY_STATISTIC_META = [
|
|||
StatisticsMeta.name,
|
||||
]
|
||||
|
||||
QUERY_STATISTIC_META_ID = [
|
||||
StatisticsMeta.id,
|
||||
StatisticsMeta.statistic_id,
|
||||
]
|
||||
|
||||
|
||||
STATISTIC_UNIT_TO_UNIT_CLASS: dict[str | None, str] = {
|
||||
EnergyConverter.NORMALIZED_UNIT: EnergyConverter.UNIT_CLASS,
|
||||
|
|
Loading…
Add table
Reference in a new issue