mirror of
https://github.com/home-assistant/core
synced 2024-09-09 12:51:22 +02:00
Drop some unused constants from recorder (#79138)
This commit is contained in:
parent
cba3b6ad94
commit
2167cf540d
@ -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…
Reference in New Issue
Block a user