diff --git a/homeassistant/components/recorder/manifest.json b/homeassistant/components/recorder/manifest.json index 6f3371681e5..13ba7400952 100644 --- a/homeassistant/components/recorder/manifest.json +++ b/homeassistant/components/recorder/manifest.json @@ -7,7 +7,7 @@ "iot_class": "local_push", "quality_scale": "internal", "requirements": [ - "SQLAlchemy==2.0.24", + "SQLAlchemy==2.0.25", "fnv-hash-fast==0.5.0", "psutil-home-assistant==0.0.1" ] diff --git a/homeassistant/components/recorder/statistics.py b/homeassistant/components/recorder/statistics.py index 8f932ecf499..8348933769c 100644 --- a/homeassistant/components/recorder/statistics.py +++ b/homeassistant/components/recorder/statistics.py @@ -101,7 +101,7 @@ QUERY_STATISTICS_SHORT_TERM = ( StatisticsShortTerm.sum, ) -QUERY_STATISTICS_SUMMARY_MEAN = ( # type: ignore[var-annotated] +QUERY_STATISTICS_SUMMARY_MEAN = ( StatisticsShortTerm.metadata_id, func.avg(StatisticsShortTerm.mean), func.min(StatisticsShortTerm.min), diff --git a/homeassistant/components/sql/manifest.json b/homeassistant/components/sql/manifest.json index 0409f2cdf6f..1188a9ec05e 100644 --- a/homeassistant/components/sql/manifest.json +++ b/homeassistant/components/sql/manifest.json @@ -5,5 +5,5 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/sql", "iot_class": "local_polling", - "requirements": ["SQLAlchemy==2.0.24", "sqlparse==0.4.4"] + "requirements": ["SQLAlchemy==2.0.25", "sqlparse==0.4.4"] } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index b4808bd8ce0..041dfab96f3 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -52,7 +52,7 @@ pyudev==0.23.2 PyYAML==6.0.1 requests==2.31.0 scapy==2.5.0 -SQLAlchemy==2.0.24 +SQLAlchemy==2.0.25 typing-extensions>=4.9.0,<5.0 ulid-transform==0.9.0 urllib3>=1.26.5,<2 diff --git a/requirements_all.txt b/requirements_all.txt index e7c8bad22c3..8d80015fce1 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -128,7 +128,7 @@ RtmAPI==0.7.2 # homeassistant.components.recorder # homeassistant.components.sql -SQLAlchemy==2.0.24 +SQLAlchemy==2.0.25 # homeassistant.components.tami4 Tami4EdgeAPI==2.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index f44323bad1b..501d3208e1e 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -113,7 +113,7 @@ RtmAPI==0.7.2 # homeassistant.components.recorder # homeassistant.components.sql -SQLAlchemy==2.0.24 +SQLAlchemy==2.0.25 # homeassistant.components.tami4 Tami4EdgeAPI==2.1