also remove references from JsonObjectConst and JsonArray

This commit is contained in:
Proddy
2024-01-08 11:44:33 +01:00
parent 1dde495f61
commit cf8c5430d1
4 changed files with 14 additions and 14 deletions

View File

@@ -987,7 +987,7 @@ void EMSdevice::generate_values_web(JsonObject output) {
// as generate_values_web() but stripped down to only show all entities and their state
// this is used only for WebCustomizationService::device_entities()
void EMSdevice::generate_values_web_customization(JsonArray & output) {
void EMSdevice::generate_values_web_customization(JsonArray output) {
for (auto & dv : devicevalues_) {
// also show commands and entities that have an empty full name
JsonObject obj = output.add<JsonObject>();