[select] Refactor to index-based operations for immediate and future RAM savings (#11623)
This commit is contained in:
1 parent
c7ae424613
commit
6f7e54c3f3
44 files changed
+268
-204
No files matched your search
@@ -410,7 +410,7 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
|
||||
static std::string select_state_json_generator(WebServer *web_server, void *source);
|
||||
static std::string select_all_json_generator(WebServer *web_server, void *source);
|
||||
/// Dump the select state with its value as a JSON string.
|
||||
std::string select_json(select::Select *obj, const std::string &value, JsonDetail start_config);
|
||||
std::string select_json(select::Select *obj, const char *value, JsonDetail start_config);
|
||||
#endif
|
||||
|
||||
#ifdef USE_CLIMATE
|
||||
|
||||
Reference in new issue
Block a user