1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-05 12:52:19 +01:00

Merge branch 'integration' into memory_api

This commit is contained in:
J. Nick Koston
2025-08-09 21:02:17 -05:00

View File

@@ -552,7 +552,7 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
void parse_string_param_(AsyncWebServerRequest *request, const char *param_name, T &call,
Ret (T::*setter)(const std::string &)) {
if (request->hasParam(param_name)) {
std::string value = request->getParam(param_name)->value().c_str();
std::string value = request->getParam(param_name)->value();
(call.*setter)(value);
}
}