stripped table rows

This commit is contained in:
proddy
2021-11-22 00:36:15 +01:00
parent 53de2ca25b
commit bb38458ac4
5 changed files with 59 additions and 47 deletions

View File

@@ -616,7 +616,7 @@ const std::string EMSdevice::get_value_uom(const char * key) {
// except additional data is stored in the JSON document needed for the Web UI like the UOM and command
// v = value, u=uom, n=name, c=cmd
void EMSdevice::generate_values_json_web(JsonObject & output) {
output["name"] = to_string_short();
output["type"] = device_type_name();
JsonArray data = output.createNestedArray("data");
for (const auto & dv : devicevalues_) {