1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 08:41:59 +00:00

fix clang-tidy esp8266

This commit is contained in:
dhoeben
2025-12-28 11:59:04 +01:00
parent c5177e8553
commit dec8cbbe41

View File

@@ -1711,7 +1711,7 @@ void WebServer::handle_water_heater_request(AsyncWebServerRequest *request, cons
&water_heater::WaterHeaterCall::set_target_temperature);
if (request->hasParam("mode")) {
std::string mode = request->getParam("mode")->value();
call.set_mode(mode.c_str());
call.set_mode(mode);
}
this->defer([call]() mutable { call.perform(); });