From 5ebb68b719088f34447a8bf29f030d87cefe8193 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 13 Oct 2025 21:45:52 -1000 Subject: [PATCH] fixed --- esphome/components/api/homeassistant_service.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esphome/components/api/homeassistant_service.h b/esphome/components/api/homeassistant_service.h index 9c2844fbed..46e89cb39f 100644 --- a/esphome/components/api/homeassistant_service.h +++ b/esphome/components/api/homeassistant_service.h @@ -127,9 +127,9 @@ template class HomeAssistantServiceCallAction : public Actionservice_.value(x...); resp.set_service(StringRef(service_value)); resp.is_event = this->flags_.is_event; - this->populate_service_map_(resp.data, this->data_, x...); - this->populate_service_map_(resp.data_template, this->data_template_, x...); - this->populate_service_map_(resp.variables, this->variables_, x...); + this->populate_service_map(resp.data, this->data_, x...); + this->populate_service_map(resp.data_template, this->data_template_, x...); + this->populate_service_map(resp.variables, this->variables_, x...); #ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES if (this->flags_.wants_status) { @@ -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();