diff --git a/esphome/components/api/homeassistant_service.h b/esphome/components/api/homeassistant_service.h index bd668d3cf8..9c2844fbed 100644 --- a/esphome/components/api/homeassistant_service.h +++ b/esphome/components/api/homeassistant_service.h @@ -175,7 +175,7 @@ template class HomeAssistantServiceCallAction : public Action - static void populate_service_map(VectorType &dest, SourceType &source, Ts... x) { + static void populate_service_map_(VectorType &dest, SourceType &source, Ts... x) { dest.init(source.size()); for (auto &it : source) { auto &kv = dest.emplace_back();