proddy
2024-04-29 20:31:16 +02:00
parent c12c7845bf
commit 543cfc921e
11 changed files with 331 additions and 14 deletions

View File

@@ -422,12 +422,17 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
// all tests with EMSESP_STANDALONE
if (command == "entity_dump") {
shell.printfln("Adding all devices and entities...");
System::test_set_all_active(true);
EMSESP::dump_all_values(shell);
ok = true;
}
if (command == "telegram_dump") {
System::test_set_all_active(true);
EMSESP::dump_all_telegrams(shell);
ok = true;
}
if (command == "modes") {
shell.printfln("Testing thermostat modes...");
test("general");