mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
Create table of all EMS-ESP entities, by device, shortname/fullname and characteristics #828
This commit is contained in:
@@ -29,7 +29,6 @@ bool Test::run_test(const char * command, int8_t id) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (strcmp(command, "general") == 0) {
|
||||
EMSESP::logger().info("Testing general. Adding a Boiler and Thermostat");
|
||||
|
||||
@@ -245,6 +244,13 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
|
||||
command = cmd;
|
||||
}
|
||||
|
||||
#if defined(EMSESP_STANDALONE_DUMP)
|
||||
if (command == "dump") {
|
||||
shell.printfln("Adding all devices and entities...");
|
||||
EMSESP::dump_all_values(shell);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (command == "general") {
|
||||
shell.printfln("Testing adding a general boiler & thermostat...");
|
||||
run_test("general");
|
||||
|
||||
Reference in New Issue
Block a user