Fix function name in external statistics mean_type message (#182031)

This commit is contained in:
Christo
2026-09-13 14:39:35 +02:00
committed by GitHub
parent ba84f9b506
commit 5b42aaed9c
@@ -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},
)