make standalone compile

This commit is contained in:
proddy
2023-07-21 22:44:27 +01:00
parent a4ddacb29c
commit 96d7069e8d

View File

@@ -613,7 +613,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
Mqtt::ha_enabled(false);
Mqtt::nested_format(1);
Mqtt::send_response(false);
// Mqtt::send_response(false);
run_test("boiler");
// run_test("thermostat");
@@ -633,7 +633,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
Mqtt::ha_enabled(true);
Mqtt::nested_format(1);
Mqtt::send_response(false);
// Mqtt::send_response(false);
run_test("boiler");
run_test("thermostat");
@@ -703,7 +703,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing custom entities");
Mqtt::ha_enabled(true);
Mqtt::send_response(false);
// Mqtt::send_response(false);
run_test("thermostat");
@@ -734,7 +734,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing masked entities");
Mqtt::ha_enabled(true);
Mqtt::send_response(false);
// Mqtt::send_response(false);
run_test("boiler");
@@ -759,7 +759,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing device value lost");
Mqtt::ha_enabled(true);
Mqtt::send_response(false);
// Mqtt::send_response(false);
run_test("boiler");
@@ -780,7 +780,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing API getting values");
Mqtt::ha_enabled(false);
Mqtt::nested_format(1);
Mqtt::send_response(false);
// Mqtt::send_response(false);
// EMSESP::bool_format(BOOL_FORMAT_10); // BOOL_FORMAT_10_STR
EMSESP::system_.bool_format(BOOL_FORMAT_TRUEFALSE); // BOOL_FORMAT_TRUEFALSE_STR
@@ -813,7 +813,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing MQTT incoming changes");
Mqtt::ha_enabled(false);
Mqtt::nested_format(1);
Mqtt::send_response(false);
// Mqtt::send_response(false);
EMSESP::system_.bool_format(BOOL_FORMAT_10); // BOOL_FORMAT_10_STR
// EMSESP::bool_format(BOOL_FORMAT_TRUEFALSE); // BOOL_FORMAT_TRUEFALSE_STR
@@ -851,7 +851,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
// Mqtt::ha_enabled(false);
Mqtt::nested_format(1);
Mqtt::send_response(true);
// Mqtt::send_response(true);
run_test("boiler");
run_test("thermostat");