update test for ha

This commit is contained in:
proddy
2022-02-20 13:38:18 +01:00
parent 76579c426e
commit 1badaa725e
2 changed files with 10 additions and 10 deletions

View File

@@ -496,19 +496,19 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
if (command == "ha") {
shell.printfln(F("Testing HA mqtt discovery"));
// Mqtt::ha_enabled(true);
Mqtt::ha_enabled(false);
Mqtt::ha_enabled(true);
// Mqtt::ha_enabled(false);
// Mqtt::nested_format(1); // is nested
Mqtt::nested_format(2); // not nested
Mqtt::nested_format(1); // is nested
// Mqtt::nested_format(2); // not nested
// run_test("boiler");
run_test("boiler");
run_test("thermostat");
// run_test("solar");
// run_test("mixer");
run_test("solar");
run_test("mixer");
shell.invoke_command("call system publish");
// shell.invoke_command("show mqtt");
shell.invoke_command("show mqtt");
// shell.invoke_command("call boiler fanwork");
// shell.invoke_command("call thermostat seltemp"); // sensor.thermostat_hc1_selected_room_temperature

View File

@@ -35,8 +35,8 @@ namespace emsesp {
// #define EMSESP_DEBUG_DEFAULT "boiler"
// #define EMSESP_DEBUG_DEFAULT "mqtt2"
// #define EMSESP_DEBUG_DEFAULT "mqtt_nested"
// #define EMSESP_DEBUG_DEFAULT "ha"
#define EMSESP_DEBUG_DEFAULT "exclude"
#define EMSESP_DEBUG_DEFAULT "ha"
// #define EMSESP_DEBUG_DEFAULT "exclude"
// #define EMSESP_DEBUG_DEFAULT "board_profile"
// #define EMSESP_DEBUG_DEFAULT "shower_alert"
// #define EMSESP_DEBUG_DEFAULT "310"