mirror of
https://github.com/esphome/esphome.git
synced 2025-11-11 04:15:52 +00:00
Update web_server.cpp
nolint crud
This commit is contained in:
@@ -1655,7 +1655,7 @@ void WebServer::handle_alarm_control_panel_request(AsyncWebServerRequest *reques
|
|||||||
|
|
||||||
auto call = obj->make_call();
|
auto call = obj->make_call();
|
||||||
if (request->hasParam("code")) {
|
if (request->hasParam("code")) {
|
||||||
call.set_code(request->getParam("code")->value().c_str());
|
call.set_code(request->getParam("code")->value().c_str()); // NOLINT
|
||||||
}
|
}
|
||||||
|
|
||||||
if (match.method == "disarm") {
|
if (match.method == "disarm") {
|
||||||
|
|||||||
Reference in New Issue
Block a user