mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
[web_server] Fix select compilation error in v1 (#13169)
This commit is contained in:
@@ -202,7 +202,7 @@ void WebServer::handle_index_request(AsyncWebServerRequest *request) {
|
||||
stream.print("<option></option>");
|
||||
for (auto const &option : select->traits.get_options()) {
|
||||
stream.print("<option>");
|
||||
stream.print(option.c_str());
|
||||
stream.print(option);
|
||||
stream.print("</option>");
|
||||
}
|
||||
stream.print("</select>");
|
||||
|
||||
Reference in New Issue
Block a user