From 5b42aaed9c7aa76be9908237d6d3da645d58fe8f Mon Sep 17 00:00:00 2001 From: Christo Date: Sun, 13 Sep 2026 20:39:35 +0800 Subject: [PATCH] Fix function name in external statistics mean_type message (#182031) --- homeassistant/components/recorder/statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/recorder/statistics.py b/homeassistant/components/recorder/statistics.py index 284beb185686..1f7f41837f26 100644 --- a/homeassistant/components/recorder/statistics.py +++ b/homeassistant/components/recorder/statistics.py @@ -2883,7 +2883,7 @@ def async_add_external_statistics( if "mean_type" not in metadata and not _called_from_ws_api: # type: ignore[unreachable] report_usage( # type: ignore[unreachable] - "doesn't specify mean_type when calling async_import_statistics", + "doesn't specify mean_type when calling async_add_external_statistics", breaks_in_ha_version="2026.11", exclude_integrations={DOMAIN}, )