updated tests for mqtt

This commit is contained in:
Proddy
2023-02-23 19:25:28 +01:00
parent 605e3c26d7
commit c7a76f90ea
2 changed files with 5 additions and 5 deletions

View File

@@ -265,10 +265,10 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
if (command == "general") { if (command == "general") {
shell.printfln("Testing adding a general boiler & thermostat..."); shell.printfln("Testing adding a general boiler & thermostat...");
run_test("general"); run_test("general");
shell.invoke_command("show devices"); // shell.invoke_command("show devices");
shell.invoke_command("show values"); // shell.invoke_command("show values");
shell.invoke_command("call system publish"); shell.invoke_command("call system publish");
shell.invoke_command("show mqtt"); // shell.invoke_command("show mqtt");
ok = true; ok = true;
} }

View File

@@ -30,7 +30,7 @@ namespace emsesp {
// #define EMSESP_DEBUG_DEFAULT "solar" // #define EMSESP_DEBUG_DEFAULT "solar"
// #define EMSESP_DEBUG_DEFAULT "web" // #define EMSESP_DEBUG_DEFAULT "web"
// #define EMSESP_DEBUG_DEFAULT "mqtt" // #define EMSESP_DEBUG_DEFAULT "mqtt"
// #define EMSESP_DEBUG_DEFAULT "general" #define EMSESP_DEBUG_DEFAULT "general"
// #define EMSESP_DEBUG_DEFAULT "boiler" // #define EMSESP_DEBUG_DEFAULT "boiler"
// #define EMSESP_DEBUG_DEFAULT "mqtt2" // #define EMSESP_DEBUG_DEFAULT "mqtt2"
// #define EMSESP_DEBUG_DEFAULT "mqtt_nested" // #define EMSESP_DEBUG_DEFAULT "mqtt_nested"
@@ -52,7 +52,7 @@ namespace emsesp {
// #define EMSESP_DEBUG_DEFAULT "api_wwmode" // #define EMSESP_DEBUG_DEFAULT "api_wwmode"
// #define EMSESP_DEBUG_DEFAULT "custom" // #define EMSESP_DEBUG_DEFAULT "custom"
// #define EMSESP_DEBUG_DEFAULT "entity_dump" // #define EMSESP_DEBUG_DEFAULT "entity_dump"
#define EMSESP_DEBUG_DEFAULT "memory" // #define EMSESP_DEBUG_DEFAULT "memory"
class Test { class Test {
public: public: