mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
add comment
This commit is contained in:
@@ -91,6 +91,8 @@ void WebDataService::core_data(AsyncWebServerRequest * request) {
|
|||||||
obj["e"] = emsdevice->count_entities(); // number of entities (device values)
|
obj["e"] = emsdevice->count_entities(); // number of entities (device values)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// add any custom entities
|
||||||
if (EMSESP::webEntityService.count_entities()) {
|
if (EMSESP::webEntityService.count_entities()) {
|
||||||
JsonObject obj = devices.createNestedObject();
|
JsonObject obj = devices.createNestedObject();
|
||||||
obj["id"] = 99; // the last unique id
|
obj["id"] = 99; // the last unique id
|
||||||
|
|||||||
Reference in New Issue
Block a user