Skip to content

Commit ac2fb53

Browse files
authored
Fix typo in recorder statistics_meta table manager (home-assistant#156326)
1 parent 02ff5de commit ac2fb53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

homeassistant/components/recorder/table_managers/statistics_meta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
_LOGGER = logging.getLogger(__name__)
2828

29-
QUERY_STATISTIC_META = (
29+
QUERY_STATISTICS_META = (
3030
StatisticsMeta.id,
3131
StatisticsMeta.statistic_id,
3232
StatisticsMeta.source,
@@ -55,7 +55,7 @@ def _generate_get_metadata_stmt(
5555
5656
Depending on the schema version, either mean_type (added in version 49) or has_mean column is used.
5757
"""
58-
columns: list[InstrumentedAttribute[Any]] = list(QUERY_STATISTIC_META)
58+
columns: list[InstrumentedAttribute[Any]] = list(QUERY_STATISTICS_META)
5959
if schema_version >= CIRCULAR_MEAN_SCHEMA_VERSION:
6060
columns.append(StatisticsMeta.mean_type)
6161
else:

0 commit comments

Comments
 (0)