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

This commit is contained in:
Christo
2026-09-18 10:25:57 +00:00
committed by Franck Nijhof
parent 863a46d689
commit b190a5bea2
@@ -2886,7 +2886,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},
)