add comment

This commit is contained in:
proddy
2023-05-06 17:11:57 +02:00
parent fcac70a2ca
commit 09ea35e340

View File

@@ -91,6 +91,8 @@ void WebDataService::core_data(AsyncWebServerRequest * request) {
obj["e"] = emsdevice->count_entities(); // number of entities (device values)
}
}
// add any custom entities
if (EMSESP::webEntityService.count_entities()) {
JsonObject obj = devices.createNestedObject();
obj["id"] = 99; // the last unique id