add dallassensors to api-info

This commit is contained in:
MichaelDvP
2021-04-30 15:15:54 +02:00
parent 4f98b4bb21
commit ee5b1b8c34
3 changed files with 38 additions and 4 deletions

View File

@@ -921,6 +921,11 @@ bool System::command_info(const char * value, const int8_t id, JsonObject & json
}
}
}
if (EMSESP::sensor_devices().size()) {
JsonObject obj = devices2.createNestedObject();
obj["type"] = F("Dallassensor");
obj["name"] = F("Dallassensor");
}
return true;
}