mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add dallassensors to api-info
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user